Welcome to WebmasterWorld Guest from 188.8.131.52 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Subscribe to WebmasterWorld
absolute links member22 msg:4475693 9:21 pm on Jul 14, 2012 (gmt 0) Should internal links on my website be absolute links www.mydomainname.com instead of <href> or doesn't it matter for SEO ?
lucy24 msg:4475720 12:21 am on Jul 15, 2012 (gmt 0)
What do you mean by <href>? Links should be site-absolute: <a href = "/directory/innerdirectory/page.html"> We can argue about whether relative links <a href = "otherpage.html"> are appropriate when you have a group of pages that will always live in the same directory. afaik search engines don't care, because they never follow a link directly. They translate it into a complete URL including protocol and domain, and put it on their shopping list for later. Dijkgraaf msg:4475910 8:38 pm on Jul 15, 2012 (gmt 0)
Even if you use your full domain name, you still need to use href's eg. <a href="http://www.example.com/mypage.html">...</a> I would back lucy's site-absolute links, which are the location on the page in relation to the root of the site. g1smd msg:4475912 8:50 pm on Jul 15, 2012 (gmt 0)
Start the link with a leading slash or with full protocol and hostname.
Robert Charlton msg:4475950 12:43 am on Jul 16, 2012 (gmt 0)
This doesn't make any sense to me either. The syntax is always... <a href="URL"> The href attribute is part of whatever kind of link you're considering. The question to be discussed is how complete the url needs to be... ie, should you use absolute links or relative links... and, if you use relative links, what kind of relative links... - root relative links, which begin with a forward slash - or relative links that do not begin with a forward slash. Here's an excellent thread in which tedster distinguishes among these.... Internal Linking - Better to Use Absolute or Relative Links? http://www.webmasterworld.com/google/4186860.htm [ webmasterworld.com] In the same thread, phranque also cites a discussion about CainIV's test which suggests that absolute links may be better for SEO. The consensus has generally been that absolute links and root relative links are basically equal for SEO... but that relative links that aren't root relative should be avoided. Also not clear in your post...
absolute links www.mydomainname.com Note that links beginning with www are not absolute links, as they don't include the (http) protocol. I've seen some sites get into quite a bit of trouble using www at the start of an internal nav url, as this can look like the beginning of a relative link (of the kind that isn't root relative), which can create a very messy url.