Thread: Internal Links
View Single Post
  #8 (permalink)  
Old 04-24-2008, 03:24 AM
seiretto's Avatar
seiretto seiretto is offline
WebProWorld Pro
 

Join Date: Nov 2006
Location: Huddersfield, Yorkshire, UK
Posts: 109
seiretto RepRank 0
Default Re: Internal Links

Peter,

You got me thinking about this in case I was wrong.... so I checked your code on default Apache and IIS web servers and it results in 404 errors, unless you used for example "/index.html" in a sub-folder then this links to the parent folder! NOT the required outcome at all. And Xenu would not see this as an error, but would result in the use of keywords linking to irrelevant content.

Anyhow, if we go back to the actual topic if relates to relative or absolute links.

As I said according Google Googlebot prefers absolute links:
URLs not followed

Absolute links are defined as:
http://www.my--company.com/one.html#anchor-one
And relative as:
./one.html#anchor-one or one.html#anchor-one
see the middle of this page:
Links in HTML documents

So to conclude it is best practice to use absolute links in the form of:
Code:
<a title="this page is about..." href="http://www.the--domain.com/folder-name/file-name.html">Relevant words linking to page</a>
Anyone else concur, or disagree....
__________________
Experienced UK website host hosting sites for over a decade; Need to host mutliple domains and websites check out our Reseller hosting or try our UK managed servers
Reply With Quote