4 replies [Last post]
klaus
Offline
Enthusiast
Last seen: 15 years 47 weeks ago
Joined: 2004-11-28
Posts: 67
Points: 0

Hi,

I read in one of those SEO forums that it is best to use absolute path to ensure that search engines crawl your entire site - are you all in agreement or is it advisable to stick to relative path for all links within a site and only use absolute path for links outside the domain (as I have also been recommended)?

I noted that w3.org are using relative path for all internal links - then again I guess they are not worried about being crawled by Google and the likes..

Cheers
Klaus

Tags:
Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 2 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

relative or absolute path?

Hi klaus,
I hadn't heard that before and can't really understand how it would benefit.
Search engines are smart enough to follow relative links.

klaus
Offline
Enthusiast
Last seen: 15 years 47 weeks ago
Joined: 2004-11-28
Posts: 67
Points: 0

relative or absolute path?

Hi Tony,

Well that is what I thought - in fact in was GoogleGuy in Webmasterworld that mentioned it - which is why it got my attention..

http://www.webmasterworld.com/forum21/8927.htm

Any thoughts?

Cheers
Klaus

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 2 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

relative or absolute path?

Hi klaus,
Interesting, It looks like for page ranking it really doesn't matter which you use.
There are advantages and disadvantages to both.

Relative Addressing vs Absolute
Absolute and Relative Links : How Do They Rank?

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 4 years 38 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

relative or absolute path?

I use relative, mainly because it makes life easier working on the site on my own PC then uploading it; if I used absolute I'd have to change them every time I wanted to upload. Right pain in the arse.

Although if you use PHP, you could 'make' each link absolute (by using the $_SERVER values to work out which domain you're on)...

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.