Home / Questions / Should my WordPress site use www or non-www?
Should my WordPress site use www or non-www?
Both www and non-www can open the same site, which creates duplicate pages. Pick one version, set it in the settings and redirect the other version to it.
If both www.yourdomain.com and yourdomain.com load the same site, Google can index both. Pick one version as the main address, and redirect the other to it.
Set the main address
Choose one, for example https://yourdomain.com. Set it in the WordPress Address and Site Address, then add a 301 redirect from the other version in .htaccess or in your host’s redirect tool.
Ready to act on this?
Get a written review of your site, or send us your question and we will reply within 24 hours.
Check the result
Open both versions in a browser. Both should end at the main address with one redirect. Set the same address as the main version in Rank Math or your SEO plugin, and in Google Search Console.
For a site with many duplicate pages, run a free website audit to see where duplicates appear.
Related services
Related questions
Not sure where your site stands?
Send us the details and we will reply within 24 hours with a clear next step.