Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When linking pages does Google give higher value to:

<a href="http://www.mydomain.com"> </a>


<a href="/"> </a>?

I am wondering because I have heard that (for SEO) it is better to provide the full HTTP address when linking to the sites homepage.

As I thought about it, I wondered why that would be. Would Google really assign higher value to <a href="http://www.mydomain.com"> </a> instead of <a href="/"> </a>? They both mean the same thing.

Do you guys know or have any resources on this?

share|improve this question

In your example both are exactly the same thing so no preference would be given to one or the other. The only time you can run into options is when you use /index.php and http://www.mydomain.com as they would then be considered two different URLs and duplicate content issues would arise. That's when canonical URLs would need to be used.

share|improve this answer

Check this video


They said using full url is less bug prone. But I think you should use href="http://www.mydomain.com"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.