Forum Moderators: open

Message Too Old, No Replies

Absolute and Relative Links

         

WobMaster

4:29 am on Jan 3, 2004 (gmt 0)

10+ Year Member



I have heard that! links in this type:

<a href="/url.php">link text</a>

Does not crawl by GoogleBOT! so is it right?

if right then which type i have to use?

SethCall

5:15 am on Jan 3, 2004 (gmt 0)

10+ Year Member



The link that you are using as an example is a relative link, i.e., it is understood that you could rewrite the link as [current_directory]/link.php.

So, if what you say is true (I have no idea if it is or isn't), then you should take the effort to make the link complete, i.e., make it unambiguous.

So, something like <a href="http://yourDomain.com/link.php">link text </a> would be more appropriate.

percentages

5:46 am on Jan 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



>so is it right?

No it is not.

But absolute links are probably preferrable as who is to say what might happen in the future and who is to say what might happen with new and upcoming SE's :)

bignet

12:37 am on Jan 6, 2004 (gmt 0)

10+ Year Member



good search engines have no problem crawling relative links

not even the bad ones imho

glengara

3:16 pm on Jan 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Recent discussion......
[webmasterworld.com...]

g1smd

11:15 pm on Jan 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



>> >> <a href="/url.php">link text</a> << <<

>> The link that you are using as an example is a relative link, <<

Umm, no it is not.

That is an absolute URL counting from the web root.

.

Examples:

/the/absolute/path/from/root/to/the/file.html

a/relative/path/from/current/location/to/file.html

Absolute begins with / or the domain name in full.

Relative begins with just a directory name or filename or starts with ./ or ../ etc.