Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Linking question full URL or relative KevinC msg:412035 9:10 pm on Nov 5, 2002 (gmt 0) Hey I couldn't find an answer to this with a site search and would like someones help on this one.
When building websites I have always used links like : hosting.html or index.html but should I be using the full url instead like: [
...] or [ widget.com ...] widget.com
What are the advantages and disadvantages?
europeforvisitors msg:412036 10:00 pm on Nov 5, 2002 (gmt 0)
Google has absolutely no problem with relative links, and I've done very well in Google while using them. I prefer relative links because they make for simpler code, they load faster, they make a small contribution to reducing Net congestion, and they're easier to maintain.
Still, not everyone shares my preference.
For an argument in favor of relative links, see:
[ ...] boogiejack.com
For an argument in favor of absolute links, see:
[ ...] searchengineworld.com KevinC msg:412037 10:39 pm on Nov 5, 2002 (gmt 0)
hey thanx for the point in the right direction! andreasfriedrich msg:412038 11:34 pm on Nov 5, 2002 (gmt 0)
Or use the base element [ w3.org] to specify an absolute URI that acts as the base URI for resolving relative URIs on your page.
This makes for smaller pages than absolute URIs and still works in things like Google´s cache.