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 added a URL to my Webmaster account which was the "www" URL version of my website. Recently I understood that pages doesn't index in "Index status", so I added another website which was the "non-www" URL of my site. Now I can see that the pages are indexed.

But how can I combine both of them together to see the result of both of them as one website?

share|improve this question

migrated from superuser.com Feb 12 at 22:42

This question came from our site for computer enthusiasts and power users.

    
I advise you to either redirect 302 one of them or at least use the canonical meta tag in header. –  Jurik Feb 13 at 1:45

1 Answer 1

First, in your google webmaster, for both www version and non www version, in the site setting select your Preferred domain.

For example, if you preferred your website known as domain.com instead of www.domain.com, then choose the Display URLs as domain.com. Remember you need to set this for both version.

Then, make sure every time user access to www.domain.com will be redirect to domain.com.

share|improve this answer
    
Is google OK with this? in the other words, it wont make any problem? –  Amirreza Nasiri Feb 13 at 18:23
    
please refer to support.google.com/webmasters/answer/44231?hl=en –  Peter Feb 14 at 1:05

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.