Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!


Sponsored Content

 

 
 

Photo
- - - - -

Internal Linking To Your Homepage


  • Please log in to reply
50 replies to this topic

#1 Dave

Dave

    HR 4

  • Active Members
  • PipPipPipPip
  • 148 posts
  • Location:Nottingham, UK

Posted 24 January 2006 - 03:49 AM

I read an interesting bit of advice in an email from Marketing Sherpa from Stone Reuning of SEO Advantage, Inc. In it Stone says:
QUOTE
When you link to your index page in different ways, the search engines treat each as a separate page. For example, if you link to your index page with www.domain.com/index.htm in one place and www.domain.com in another place, search engines do not recognize this as two links to the same page.

This I understand. But it got me thinking... my internal linking to my homepage (and other important pages) is consistant, but relative to the site root, for example href="/index.asp". However, I rank best in the SEs for "http://www.mydomain.co.uk" (as his is what people link to).

My question for everyone today is: should I change all of my internal homepage links to be absolute links - href="http://www.mydomain.co.uk"? In fact, should I change all of my links from relative links like href="/dir1/dir2/page.asp" to absolute links like href="http://www.mydomain....dir2/page.asp"?

#2 OldWelshGuy

OldWelshGuy

    Work is Fun

  • Moderator
  • 4,713 posts
  • Location:Neath, South Wales, UK

Posted 24 January 2006 - 03:54 AM

I know I and many others here recommend absolute linking i.e www.domain.com/page.htm etc . Google also recommend absolute linking as it prevents canonical issues like the www. and non www. problem.

Also keep in mind that it is possible (and workable) to have both an index.htm and index.php etc in the root folder.

Absolute is absolutely best biggrin.gif

#3 Dave

Dave

    HR 4

  • Active Members
  • PipPipPipPip
  • 148 posts
  • Location:Nottingham, UK

Posted 24 January 2006 - 04:28 AM

Thanks James.

#4 linux_lover

linux_lover

    LiLo

  • Active Members
  • PipPipPipPipPipPip
  • 831 posts
  • Location:York, UK

Posted 24 January 2006 - 04:40 AM

I thought it was the Anchor text rather than the HREF that Google counted, am I wrong in thinking that?

#5 Nueromancer

Nueromancer

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 301 posts
  • Location:Bedford Uk

Posted 24 January 2006 - 07:02 AM

QUOTE(OldWelshGuy @ Jan 24 2006, 08:54 AM)
I know I and many others here recommend absolute linking  i.e www.domain.com/page.htm etc . Google also recommend absolute linking as it prevents canonical issues like the www. and non www. problem.

Also keep in mind that it is possible (and workable) to have both an index.htm and index.php etc in the root folder.

Absolute is absolutely best biggrin.gif
View Post


yeh but having absolute links in your code is a compeate Bitch for developing the site
it makes moving from dev->test->live realy dificult as you are HARD Coding he structure into the code.

#6 linux_lover

linux_lover

    LiLo

  • Active Members
  • PipPipPipPipPipPip
  • 831 posts
  • Location:York, UK

Posted 24 January 2006 - 07:07 AM

I agree totally with that - you could maybe get round it by storing your domain in a var and appending it if 'www' is in the request.

CODE
stristr ($_SERVER['HTTP_HOST'], "www") ? $domain = "http://www.mydomain.com" : $domain = "localhost"));

print ("<a href='$domain/page.php'>Some page</a>");


Or something like that..

#7 dave_g

dave_g

    HR 2

  • Members
  • PipPip
  • 20 posts

Posted 24 January 2006 - 07:21 AM

QUOTE(Nueromancer @ Jan 24 2006, 07:02 AM)
yeh but having absolute links in your code is a compeate Bitch for developing the site 
it makes moving from dev->test->live realy dificult as you are HARD Coding he structure into the code.
View Post


If you were a customer I wouldn't suggest changing all the links. I might suggest using absolute links in the site map and relative for the rest if it were not a king sized website. How much of an SE pop is such algo chasing going to get you versus the development and maintenance hassles? Just my 2 cents.

#8 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 24 January 2006 - 07:29 AM

There are a lot of ways to approach it.

Personally, I tend to use absolute urls. However this is personal preference.

The www/non-www issue is one to watch out for, but can be handled at the server level pretty easily.

So if you have the www/non-www issue under control you can certainly use referential linking. One thing I would recommend however is that you link back to index pages as simply <a href="/"> rather than as <a href="index.html"> since it'll help cure the search engines confusion and also help down the road if you ever decide to change from .html to .php or .php to .asp, etc.

#9 Jill

Jill

    High Rankings Advisor

  • Admin
  • 32,312 posts

Posted 24 January 2006 - 07:55 AM

QUOTE(linux_lover @ Jan 24 2006, 04:40 AM)
I thought it was the Anchor text rather than the HREF that Google counted, am I wrong in thinking that?
View Post


They still follow and index the URLs though.

QUOTE(dave_g @ Jan 24 2006, 07:21 AM)
If you were a customer I wouldn't suggest changing all the links. I might suggest using absolute links in the site map and relative for the rest if it were not a king sized website. How much of an SE pop is such algo chasing going to get you versus the development and maintenance hassles? Just my 2 cents.
View Post


Umm...how is that algo chasing?

It's unfortunate that in 2006 the search engines can't tell the difference between www.yoursite.com and www.yoursite.com/index.htm until it's been around many years.

But it's reality. Until they get smart enough to figure it out, it's good practice to work around it by making sure you only use one form on your internal and external links.

#10 wilko92

wilko92

    HR 2

  • Active Members
  • PipPip
  • 44 posts

Posted 24 January 2006 - 08:10 AM

Hang on a minute, a few weeks ago Iposted a thread on relative and absolute links which received a resounding "It just doesn't matter which you use" response.

This thread would suggest that there is a difference!

#11 Jill

Jill

    High Rankings Advisor

  • Admin
  • 32,312 posts

Posted 24 January 2006 - 08:43 AM

No, sorry for the confusion. Absolute and relative, for the most part don't matter. But when it comes to making sure you link to each page of your site by only one specific URL and always keep it the same, that does matter.

If you use absolute URLs you'll be sure to do just that, but there are plenty of other ways to do it as well, even with relative URLs. Just don't link to it via index.html or whatever.

#12 harry_wales

harry_wales

    HR 3

  • Active Members
  • PipPipPip
  • 84 posts

Posted 24 January 2006 - 08:54 AM

Jill's right. The method you choose doesn't matter. What does matter is that whatever method you choose, you stick to it right throughout your site.

#13 ttw

ttw

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 357 posts
  • Location:San Mateo, California

Posted 24 January 2006 - 04:39 AM

This is an interesting discussion, but is it not the case that how you link to your homepage from within your site really doesn't impact the SE ranking of that page very much -- what does impact it is how other sites link to your homepage. You want them to all link to your page the same way. Typically you don't have much control over exactly how others code their links to your homepage.

So... why not set up a 301 redirect that sends a relative link to the absolute path? What would that look like?

#14 Jill

Jill

    High Rankings Advisor

  • Admin
  • 32,312 posts

Posted 24 January 2006 - 08:01 AM

QUOTE
This is an interesting discussion, but is it not the case that how you link to your homepage from within your site really doesn't impact the SE ranking of that page very much -- what does impact it is how other sites link to your homepage.


Nope. How you link to it within your own site matters very much.

#15 Talie

Talie

    HR 2

  • Members
  • PipPip
  • 10 posts

Posted 24 January 2006 - 01:27 PM

ok, I'm new here and all but I just encountered something interesting with one of the sites I'm working for along the lines of such a topic.

The fact that all the backlinks linking to the homepage are in .com , when you reach the homepage that has /homepage.php the page rank is a big 0. I just advised the programmer to get rid of the /homepage.php

is /index something different? Someone said Google doesn't recognise the difference b/w the url names...could that be true?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users