Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Anchor href link with or without domain name?

         

GV_Excel

10:00 am on Nov 13, 2008 (gmt 0)

10+ Year Member



In my website, i used anchor tag href links with domain name - for example <a href="http://www.example.com/abc/xyz.html"> - Can some body sugest me is it good or bad for search engines. Can i use with out domain name? if yes will it effect our search engine rankings?

[edited by: tedster at 11:38 am (utc) on Nov. 13, 2008]
[edit reason] switch to example.com - it can never be owned [/edit]

vero

7:08 pm on Nov 13, 2008 (gmt 0)

10+ Year Member



One advantage I hear about for spelling out the entire domain is that it might make it harder for scrapers or those who steal your copy intact. I personally use the absolute url's because it's easier to write out for me, as I dont have to worry about going up one level or two or three to the right directory. Disadvantage is that you can't test offline, also the files will be somewhat larger.

dstiles

8:53 pm on Nov 13, 2008 (gmt 0)

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



Why worry about going up a directory? All you have to do is make the url absolute relative to the root...

/mypage.htm
/myfolder/mypage.htm

Works online and offline.