搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox misinterprets a link in my webpage as referring to the same folder the page is in.

  • 3 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 pat.b

more options

I have a webpage with a link to another webpage. The link is in the form <a href="http:\\www.sitename.com" target="new"> In IE, when I hover over the link the address http:\\www.sitename.com appears at the bottom of the screen, and the page opens with no trouble.

However, in Firefox when I hover over the link this appears at the bottom of the screen:

addressofcurrentpage/\\www.sitename.com

and when I click on the link, I get a 404 message telling me that page does not exist.

Why is Firefox rewriting my link's address for me, and how can I make it stop?

I have a webpage with a link to another webpage. The link is in the form <a href="http:\\www.sitename.com" target="new"> In IE, when I hover over the link the address http:\\www.sitename.com appears at the bottom of the screen, and the page opens with no trouble. However, in Firefox when I hover over the link this appears at the bottom of the screen: addressofcurrentpage/\\www.sitename.com and when I click on the link, I get a 404 message telling me that page does not exist. Why is Firefox rewriting my link's address for me, and how can I make it stop?

被選擇的解決方法

Yes, you need to use http:// instead of http:\\ in the link. Basically, never use a backslash anywhere in a URL in Firefox.

從原來的回覆中察看解決方案 👍 2

所有回覆 (3)

more options

選擇的解決方法

Yes, you need to use http:// instead of http:\\ in the link. Basically, never use a backslash anywhere in a URL in Firefox.

由 jscher2000 - Support Volunteer 於 修改

more options

Also, the forum software detected your Firefox as version 26. Is that correct?

Version 26 is not secure; Mozilla discloses security flaws after each new release. Is something holding you back from upgrading to Firefox 42? Please let us know so we can suggest solutions or workarounds. Or if you just need a link: https://www.mozilla.org/firefox/all/ (scroll down to your preferred language)

If Help > About Firefox shows Firefox 42.0, you may need to clear the preference that is misreporting your version number. See: How to reset the default user agent on Firefox.

more options

Thank you! That appears to have fixed my problem.