You can redirect www accesses of your domain to the non-www version using the cPanel Redirections tool.
These redirections are often recommended by search engines such as Google to avoid having your site penalized for duplicate content.
Nuagerie recommends the usage of the version with www rather than the one without (for added flexibility with CNAME record manipulations); however, this is mostly a personal choice and will not impact the actual functionality of your site.
To redirect the www. site to the non-www version:
- Log in to cPanel
- Under Domains, click Redirections
- Complete the form as follows:
- Type = Permanent
- Choose the domain to redirect (leave the box to the right blank)
- Enter the complete address to redirect to (without www), ex: http://domain.com
- Choose option Redirect only with www.
- Tick checkbox Wildcard redirection
- Click on Add
To redirect the non-www. site to the version with www:
- Log in to cPanel
- Under Domains, click Redirections
- Complete the form as follows:
- Type = Permanent
- Choose the domain to redirect (leave the box to the right blank)
- Enter the complete address to redirect to (with www), ex: http://www.domain.com
- Choose option Do not redirect www.
- Tick checkbox Wildcard redirection
- Click on Add
If you still have questions or concerns, feel free to contact us by opening a support ticket or by using our live chat feature.