Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have 2 domains http://foo.com and a http://bar.com. http://bar.com is just a domain alias for http://foo.com so they have the same content. Results for both domains show up on google, I'd rather all google results point to http://foo.com. I've tried looking for this option in google webmaster tools but can't find it. How do I do this?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

Google Webmaster Tools does not have any functionality for this.

You can use canonical URLs to tell Google which is the preferred domain.

share|improve this answer
    
I'd rather not redirect. Half of my users specifically prefer using foo.com and the other half likes using bar.com. I'm using IIS 7.5 –  two-domains Jul 19 '11 at 1:55
2  
I've changed my answer to reflect this –  John Conde Jul 19 '11 at 2:01
    
oh yeah, I remember seeing the cross domain canonical a while back, just wasn't able to add that to my site at the time. I think that should work for me ok now. thanks –  two-domains Jul 19 '11 at 2:07
add comment

Your Answer

 
discard

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.