Do you avoid using UNCs in HREFs?

Last updated by Tiago Araújo [SSW] about 1 year ago.See history

Initially, errors of this nature would be picked up in the link checking utility. However, that is not the case because the link checker will not report any problems if you run it locally - which is the normal method.

The reason it won't see the problems is because the link checking utility does not check hard coded links to local servers (e.g. localserver/ssw/Default.aspx). Therefore, it is testing a page that will exist internally, but the page will not exist when uploaded to the web (e.g. ssw.com.au/ssw/Default.aspx).

<a href="//ant/ssw/LookOut.htm">

Bad example

<a href="/ssw/LookOut.htm">

Good example

We open source. Powered by GitHub