Welcome to WebmasterWorld Guest from 54.146.248.111

Forum Moderators: open

Message Too Old, No Replies

relative url format

html url formatting affect on google

     

relgoog

12:30 am on Jun 5, 2003 (gmt 0)

10+ Year Member


lo all,
Which url format is best to use when creating href's?
e.g.
./directory/
http://www.example.com/directory/
/directory/

They all work, and they should all be spiderable, but does google care? or is there a 'best practice' within html?

Cheers in advance.

mattur

4:47 pm on Jun 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As long as they point to the right page when evaluated by Google, it doesn't matter.

I prefer using absolute, site root-based urls eg /directory/ - there's no need to use fully qualified url's - except for off site links of course ;)

g1smd

7:09 pm on Jun 5, 2003 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



I dislike ../../../foo/bar/page.html type references as they become very complicated if you later reorganise the structure of the site.

I prefer to specify the full path relative to the root folder.

relgoog

2:25 am on Jun 8, 2003 (gmt 0)

10+ Year Member



cheers.
I usually use /dir/ for my urls as it just makes things so much simpler but its always worth checking with the experts incase theirs something im missing out on.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month