When search results do not use the expected www or non-www version, first confirm which version you want to keep and compare it with the URLs in the results. Then check whether the non-preferred version uses a 301 permanent redirect to the preferred version and whether the pages’ canonical tags also point to the preferred version. Public discussions suggest that delays in crawling and index updates may cause temporary inconsistencies, but this does not establish the cause for any particular website. The Webmaster Tools “preferred domain” setting mentioned in those discussions is historical and should not be treated as a current procedure.
Confirm your preferred version before blaming improved rankings
The person who posted the original question said they had set a preferred domain several months earlier. Previous search results had matched their expectations, but recent results for newly ranking pages used a different version. However, the original post first says they chose www, then later calls the version “without www” their preferred version. These descriptions contradict each other, so it is unclear which version the questioner wanted to appear.
When checking your own website, start by recording the following details:
- Write down the exact version you expect, such as www.example.com, rather than simply calling it the “correct domain.”
- Record the full URL of the problematic search result and confirm whether the difference really is the presence or absence of www.
- Compare both versions of the same page rather than using results for different pages to draw conclusions about the entire site.
Improved rankings and a different URL appearing in search results were two things the questioner observed at the same time. The discussion does not establish that the ranking improvements caused the URL change.
Check where redirects lead, not just whether URL rewriting is enabled
Checking whether URL rewriting is enabled can be a starting point for troubleshooting, but you also need to check where non-preferred URLs actually lead. Several community replies recommend using 301 redirects from the non-preferred version to the preferred version. This directs visitors and other search engines to the same version, rather than relying solely on one search engine’s preference setting.
For example, if you want to keep www.example.com/foo, check whether example.com/foo redirects to that page. If the page also has a canonical tag, check which version it specifies: the redirect should not point to www while the canonical tag points to non-www. These checks follow the discussion’s recommendations for keeping settings consistent; they do not guarantee that search results will change immediately afterward.
Update delays are possible; old settings should not be followed as current instructions
One respondent suggested that if Google crawls the non-preferred version first and has not yet determined that the two URLs contain the same content, it may temporarily display the URL it crawled first. The guidance quoted in the discussion also noted that changes may take time to appear in the index. Neither statement establishes when this particular case would be updated.
There was also disagreement at the time about whether a preferred domain still needed to be set after redirects were in place. Some thought it was unnecessary; others favored keeping both settings in place and consistent. For readers today, the more useful approach is to check that redirects and canonical tags point to the intended version—not to follow old tool menus or assume that “the old version will never appear again after a redirect.”
Search results not using your preferred domain: perspectives from across the web
How should you choose if you have not yet decided between www and non-www?
If you have not yet decided, one suggestion from a public discussion is to compare the backlinks to both versions and choose the one with the stronger backlink profile as your preferred domain. However, this does not mean that the version with more links is necessarily the best choice for every website. If you have already chosen a version, check that settings throughout the site are consistent with that choice.
Besides www, what other URL differences are worth checking?
Check for URL differences involving analytics codes, click-tracking parameters, print versions, or session IDs. These URLs may display the same content, with external websites linking to different versions. The discussion recommends using canonical tags or redirects to point to the preferred URL, as appropriate. However, finding these differences does not establish why search results are not showing your preferred domain.
Where can you check domain settings if you use WordPress?
One public discussion recommends checking the WordPress menus to see whether the site’s domain uses the intended www or non-www version, then resubmitting the sitemap after making adjustments. This applies to websites using WordPress. The discussion also mentions settings in an older version of Webmaster Tools, but that does not establish that the same options are still available today.
References
- Why is Google not listing my site using its preferred domain?webmasters.stackexchange.com — Source used in the article above.
- Duplicate Content: 5 Myths and 5 Facts About How It Impacts SEOneilpatel.com · 2022-02-22T21:00:00+00:00 — Discusses: Besides www, what other URL differences are worth checking?
- Why is Google not listing my site using its preferred domain?webmasters.stackexchange.com — Source used in the article above.
- 301 redirect, keyword being in boldwebmasters.stackexchange.com — Source used in the article above.
- SEO preference: does a site with WWW rank better than without WWW?webmasters.stackexchange.com — Source used in the article above.
- Why is Google not listing my site using its preferred domain?webmasters.stackexchange.com — Source used in the article above.
- SEO preference: does a site with WWW rank better than without WWW?webmasters.stackexchange.com — Discusses: How should you choose if you have not yet decided between www and non-www?
- 301 redirect, keyword being in boldwebmasters.stackexchange.com — Source used in the article above.
- Major Indexing problem with my sitewebmasters.stackexchange.com — Discusses: Where can you check domain settings if you use WordPress?
- Importance of Preferred Domainwebmasters.stackexchange.com — Source used in the article above.
- Effective seo for 302 temporarily movedwebmasters.stackexchange.com — Source used in the article above.
