Redirecting from non www to www is essential for SEO and a way to assure that your website is not being flagged for duplicate content.
How you do this is dependent on how you have pointed your domain to 10Web. Here are two cases:
- You have pointed your domain using 10Web nameservers
- You have pointed your domain using an A record
Non www to www When Pointed with 10Web Nameservers
If you have pointed your domain by replacing the nameservers at your domain registrar with 10Web nameservers:
- Log into the WordPress dashboard of your website
- Go to Settings, then click on General
Find the fields:
- WordPress Address (URL) and Site Address (URL).
Add the www. to both URLs in the above mentioned fields. For example, if your site URL is https://yourdomain.com, where yourdomain.com is your website URL, replace it with:
Non www to www When Pointed Using an A Record
If you have pointed your domain using an A record, before moving forward, please make sure that you have also created a CNAME record.
Log into your 10Web dashboard and click on the website you want to manage. Under Hosting Services, click on Domains, then click on Manage DNS. You will see the list of your DNS records for the given domain.
If you do not have a CNAME record, you will need to add one with your domain name registrar to avoid potential significant issues.
Setting up a CNAME record with GoDaddy.
Setting up a CNAME record with NameCheap.
Setting up a CNAME record with Google Domains.
Once you have added the CNAME record, to check that it's working properly, type your URL in the browser using www. If it redirects to your non www URL, then your CNAME has been successfully created. You are ready to redirect. To do this, use the above instructions for the previous case.