Canonical domains might be more important than you think. While it seems awesome to have your site available both on “www” and “non-www” domains, this might hurt your SEO on the long run and that’s why Google advises you to choose only one domain which you should use in all future references.
We already explained that it doesn’t really matter which domain you choose as the default one and how to set one up in WordPress.
While this is something you should do as soon as possible, you’re still not done when it comes to search engines, to be more specific, to Google. Now that you have chosen your canonical URL and redirected the other one (WordPress does this automatically if you followed the steps from the previously linked article), it’s time to tell Google the same thing.
Why is this important? According to Google, if you leave both domains active, the most popular search engine will recognize your “www” and “non-www” domain as separate ones. That means that you can actually lose rank on search results page just because you didn’t choose a canonical domain.
To make sure Google handles your domain well, here’s what to do:
- Go to (Google Webmasters Tools)
- Navigate to search console
- Click on the site which you own
- Find the gear icon and choose “Site settings”
- In Preferred domain section choose the one you like better
Since this affects both domains, you will have to verify that you are the owner of both. Although it will take some time until Google actually makes the changes in indexing your website, this is all you have to do in order to choose canonical URL for your website regarding Google.