Combine www and no-www sites status in Google Webmaster Tools

6,301

Solution 1

First, in your Google Webmaster Tools account, for both www version and no-www version, in the site setting select your Preferred domain.

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

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

Solution 2

I suggest .htaccess redirect if Apache is serving your website or another server side redirect.

Make two websites in Google Webmaster Tools.
Set the preferred domain in Google Webmaster Tools.
Nowadays, Google Webmaster Tools added a "Create a set" option.
So create a new set, name it and add as members those two properties (websites) to it.

If you have SSL installed and HTTPS activated you should add two websites more.

https://www.example.com/ - Records data only for the HTTPS version of your site. You must add HTTP and HTTPS versions of your site as separate properties.

What URL should I use? - Search Console Help

Share:
6,301

Related videos on Youtube

Julius
Author by

Julius

Founder of Delix.ir - Persian OCR engine and PDF to word converter Founder of Bytegate.ir - a tech blog focused on tutorials Founder of Bobet.ir - a music repository with their lyric and Persian translations Co-founder or Smo.li - a shortlink booster and promoter Find more about me: amirreza.in

Updated on September 18, 2022

Comments

  • Julius
    Julius over 1 year

    I added a URL to my Webmaster Tools 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 no-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?

    • Jurik
      Jurik over 10 years
      I advise you to either redirect 302 one of them or at least use the canonical meta tag in header.
  • Julius
    Julius over 10 years
    Is google OK with this? in the other words, it wont make any problem?
  • Peter
    Peter over 10 years
  • v3nt
    v3nt over 7 years
    it still have two different sites and different sets of stats? Should Index status stats not be the same now? thanks!