How to Redirect non-www to www (or the reverse)
Your site can answer at both the www and the non-www version of its address, and search engines can treat those as two different sites. Picking one as your canonical version and redirecting the other keeps your branding tidy, your analytics clean, and your search ranking pooled in one place. You set it up with a simple redirect and a matching WordPress setting, with no code to write. Every JetHost hosting plan makes this a quick job from cPanel.
Pick one canonical version
First decide which address is your real one: with the www prefix or without it. Neither is better for performance. It is a branding and consistency choice. Whatever you pick, use it everywhere – in links, in your logo, and on business cards – and redirect the other version to it.
Set it with a cPanel redirect
In cPanel, open the Domains or Redirects tool. Choose the version you want to send away – say the non-www address – and point it at your chosen canonical version as a permanent redirect. cPanel writes the rule to your site’s configuration file for you, so the whole thing is a few clicks and a Save.
Or set it in WordPress settings
For a WordPress site, go to Settings → General and enter your chosen version in both WordPress Address and Site Address. WordPress then builds every link with that version and quietly redirects the other one. Save, then log in again if it asks.
Keep it consistent
After the redirect is live, type both versions in a fresh browser tab and confirm each one lands on your canonical address with the padlock showing. Update your sitemap, your Google Search Console property, and any ad links to match. One version everywhere avoids split traffic and duplicate-content warnings.
On JetHost hosting
On JetHost shared hosting, the Domains tool in cPanel handles the www redirect in a couple of clicks, and AutoSSL already covers both versions of your address with a free certificate. If you would rather we set the canonical version for you, open a ticket and we’ll take care of it. For the secure side, see the benefits of SSL.
JetHost Experts Tip
Set the canonical version once and resist changing it later. Switching from www to non-www after a site has been live for years resets some social share counts and needs fresh search-engine indexing, so choose early and keep it.
Frequently asked questions
Neither is faster or more secure. It is purely a branding and consistency choice, so pick the one you prefer and redirect the other to it.
No. On JetHost, AutoSSL covers both the www and non-www versions, so your padlock stays in place whichever one you choose as canonical.
Yes, but do it sparingly. Switching the canonical version means search engines reindex the site and some share counts reset, so it is best settled early.
New Hosting Plan with 80% OFF
Upgrade your website’s home without the heavy bill. Get new hosting plan with a huge 80% discount. Get free SSL, email accounts, and a control panel to manage your site. Enjoy fast performance, secure environment, and 24/7 support – all in one affordable package.
Need more help?
Not sure which version to pick, or want us to set it? Open a ticket through Client Area → Support Tickets and we’ll configure the redirect for you.


