| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe and Support WebmasterWorld|
|when is a link a broken link and when not?|
| 3:02 pm on Sep 9, 2010 (gmt 0)|
I have a few files, some of which refer to pdf files in links as
and other times as
There is only www.domain.com/directory/file.whatever
All html pages are in the root.
However my link checkers go crazy about /directory/file.pdf saying that it is a broken link.
It could be a broken link, but MSIE8 can find the resources linked to that way, displaying images and honouring links to pdfs and the like.
/directory/file.pdf broken and
| 2:38 pm on Sep 10, 2010 (gmt 0)|
Dissapointed no one had a crack at this.
I just changed all /directory/file.htm links to directory/file.htm and my link checker likes them a lot more.
| 3:42 am on Sep 11, 2010 (gmt 0)|
directory/file.pdf is relative and /directory/file.pdf is root relative.
it's likely your link checker is handling root relative links incorrectly and not prepending the hostname and is handling the relative links as it should.
| 3:26 pm on Sep 14, 2010 (gmt 0)|
Hi phranque, thanks for your response, yes I suppose that could well be the case. Apparently our developer also has problems in that their link checking tool also falls foul of root relative links.
Anyhow sorted now, all are relative.
Thank you for your response.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved