Absolute Hyperlink vs. Relative Hyperlink

A

arubalisa

Could someone pls. summarize when to use absolute hyperlinks and when
to use relative hyperlinks?

Also, in FP2003 how do you get the absolute hyperlink to "stick" and
not change itself back to a relative hyperlink?

Thanks in advance for any help or info.
 
J

Jon Spivey

Hi,
For SEO purposes I've found it's best to use an absolute hyperlink back to
your home page for your logo, eg <a href="http://you.com"><img
src="logo.gif" alt="Your keywords"></a> it's also worth putting plain text
links at the bottom of your page with absolute links at the bottom of your
page with your keywords as the link text. So if you sell credit cards you
might have
<a href="http://you.com/gold">Gold Credit Cards</a>
<a href="http://you.com/InterestFree">Interest Free Credit Cards</a>
etc.....

These will count as a back link to Google and boost your PR.
 
P

P@tty Ayers

Could someone pls. summarize when to use absolute hyperlinks and when
to use relative hyperlinks?

And there's the third type, root-relative links: /mydirectory/myfile.htm

A short answer:

Absolute: When the page or file is external to the current site.

Root-relative: Various reasons to use these, but the most common one for me
is that I'm using server-side includes, and need to have the site root be
the reference point for giving directions to the page or file.

Document-relative: Everything else - all ordinary linking between files
within a web site.

Hope that helps.
 
K

Kathleen Anderson [MVP - FrontPage]

P@tty Ayers said:
And there's the third type, root-relative links: /mydirectory/myfile.htm

A short answer:

Absolute: When the page or file is external to the current site.

Root-relative: Various reasons to use these, but the most common one for
me is that I'm using server-side includes, and need to have the site root
be the reference point for giving directions to the page or file.

Document-relative: Everything else - all ordinary linking between files
within a web site.

This post is a keeper - thanks, Patty :)
 
Top