Welcome to WebmasterWorld Guest from 23.22.182.29

Forum Moderators: open

Message Too Old, No Replies

relative url format

html url formatting affect on google

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

New User

10+ Year Member

joined:Sept 16, 2002
posts:15
votes: 0

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.

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 29, 2002
posts:980
votes: 0


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 ;)

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

Senior Member

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

joined:July 3, 2002
posts:18903
votes: 0


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.

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

New User

10+ Year Member

joined:Sept 16, 2002
posts:15
votes: 0


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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members