Link to home
Start Free TrialLog in
Avatar of ontrackprofessionals
ontrackprofessionals

asked on

Is it best to use the full http url when linking to internal pages

I always like to code my web sites in a way that is good for google without being spammy or doing anthing wrong.  I have heard some mixed reviews as what is best to do when linking to an internal page on my own site.   If I have 100 pages with a link to the home page will it improve rank for that home page or impress google more if I use http://www.mysite.com versus index.htm in all of those links?  Thanks.
Avatar of benwiggy
benwiggy
Flag of United Kingdom of Great Britain and Northern Ireland image

Linking like this: <a href="/">Home</a> is preferred to <a href="http://www.domain.com/index.html">Home</a> as the '/' will translate automatically to index.htm - it should not matter though...
Avatar of ontrackprofessionals
ontrackprofessionals

ASKER

Thanks benwiggy but do you know how the search engines view the difference?  I read somwhere once that they counted the http://www.mysite.com version as an external link to the page thus counting it as a "back link" that could improve page rank and the index.htm as an internal link, but, I'm not sure if that is true?  I also don't want to get into trouble with the search engines.
ASKER CERTIFIED SOLUTION
Avatar of duz
duz
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Interesting, at the risk of sounding unknowledable here, what is an abosolute and relative url?  Do you have an example? Thanks, your help is always appreciated.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ontrackprofessionals -

>what is an abosolute and relative url?  Do you have an example?

An absolute URL is one that includes all the information and would be the same no matter where was located. Like this:

http://www.mysite.com/products/widgets.htm

A relative URL is one which is based on a particular location i.e. relative to where you currently are or relative to a given directory. Like this which is relative to the root directory:

/products/widgets.htm

- duz