Google’s John Mueller said that if your website is www.domain.com and then you decide to canonicalize it to the non-www, so it goes to domain.com from www.domain.com – that change would not have a big impact on your rankings. He wrote on Reddit, “This won’t cause problems with search visibility / rankings / indexing: when the canonical URL switches, it just switches.”
The issue posted on Reddit read:
John said that would not cause a big ranking change. John Mueller wrote:
John Mueller added that the change might be coincidental with the March 2024 Google core update or maybe some other reason. John added:
John said this before, that going from www to non www won’t change much and using www or non-www is no difference to Google Search.
Forum discussion at Reddit.