Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

When I hover over a link, Firefox adds the website in front of my link making it wrong.

  • 1 отговор
  • 2 имат този проблем
  • 4 изгледи
  • Последен отговор от cor-el

more options

I was checking compatibility of my website. So I opened http://www.sethermal.com. It looked fine until I hovered over a link. Firefox added the website and broke the link.

Example. I entered www.sethermal.com into the address bar. The site came up fine. I hover over "Site Map" link on my page. Link is http://www.sethermal.com/pages/site-map.html Before clicking the link I looked at the bottom and Firefox shows www.sethermal.com/\\www.sethermal.com\pages\site-map.html When I click the link obviously I get 404 Page Not Found

Why is this happening?

I was checking compatibility of my website. So I opened http://www.sethermal.com. It looked fine until I hovered over a link. Firefox added the website and broke the link. Example. I entered www.sethermal.com into the address bar. The site came up fine. I hover over "Site Map" link on my page. Link is http://www.sethermal.com/pages/site-map.html Before clicking the link I looked at the bottom and Firefox shows www.sethermal.com/\\www.sethermal.com\pages\site-map.html When I click the link obviously I get 404 Page Not Found Why is this happening?

Избрано решение

Those links have a backslash instead of a forward slash. Firefox is not so forgiving as other browsers and treats a backslash as a valid character and thus prefixes the links with the URL of the page.

[1] <a href="http:\\www.sethermal.com\index.html">
[2] <a href="http:\\www.sethermal.com\pages\service.html">
[3] <a href="http:\\www.sethermal.com\pages\about-us.html">
[4] <a href="http:\\www.sethermal.com\pages\contact-us.html">
[5] <a href="http:\\www.sethermal.com\pages\site-map.html">
[6] <a href="http:\\www.sethermal.com\pages\products\Application\application.html">
[7] <a href="http:\\www.sethermal.com\pages\products\IndustrialHeaters\industrial-heaters.html">
[8] <a href="http:\\www.sethermal.com\pages\products\ComponentHeaters\component-heaters.html">
[9] <a href="http:\\www.sethermal.com\pages\products\ProcessControls\process-controls.html">
[10] <a href="http:\\www.sethermal.com\pages\products\PackagedProducts\packaged-products.html">
[11] <a href="http:\\www.sethermal.com\pages\products\HeatExchangers\heat-exchangers.html">
[12] <a href="http:\\www.sethermal.com\pages\products\ColdWeatherProducts\cold-weather-products.html">
[13] <a href="http:\\www.sethermal.com\pages\products\Sensors\sensors.html">
[14] <a href="http:\\www.sethermal.com\pages\resources\engineering-data.html">
[15] <a href="http:\\www.sethermal.com\pages\resources\industry-application.html">
[16] <a href="http:\\www.sethermal.com\pages\stsnews\sts-news.html">
[17] <a href="http:\\www.sethermal.com\pages\stsnews\hot-products.html">
Прочетете този отговор в контекста 👍 1

Всички отговори (1)

more options

Избрано решение

Those links have a backslash instead of a forward slash. Firefox is not so forgiving as other browsers and treats a backslash as a valid character and thus prefixes the links with the URL of the page.

[1] <a href="http:\\www.sethermal.com\index.html">
[2] <a href="http:\\www.sethermal.com\pages\service.html">
[3] <a href="http:\\www.sethermal.com\pages\about-us.html">
[4] <a href="http:\\www.sethermal.com\pages\contact-us.html">
[5] <a href="http:\\www.sethermal.com\pages\site-map.html">
[6] <a href="http:\\www.sethermal.com\pages\products\Application\application.html">
[7] <a href="http:\\www.sethermal.com\pages\products\IndustrialHeaters\industrial-heaters.html">
[8] <a href="http:\\www.sethermal.com\pages\products\ComponentHeaters\component-heaters.html">
[9] <a href="http:\\www.sethermal.com\pages\products\ProcessControls\process-controls.html">
[10] <a href="http:\\www.sethermal.com\pages\products\PackagedProducts\packaged-products.html">
[11] <a href="http:\\www.sethermal.com\pages\products\HeatExchangers\heat-exchangers.html">
[12] <a href="http:\\www.sethermal.com\pages\products\ColdWeatherProducts\cold-weather-products.html">
[13] <a href="http:\\www.sethermal.com\pages\products\Sensors\sensors.html">
[14] <a href="http:\\www.sethermal.com\pages\resources\engineering-data.html">
[15] <a href="http:\\www.sethermal.com\pages\resources\industry-application.html">
[16] <a href="http:\\www.sethermal.com\pages\stsnews\sts-news.html">
[17] <a href="http:\\www.sethermal.com\pages\stsnews\hot-products.html">

Променено на от cor-el