1. Home
  2. Knowledge Base
  3. CloudNS / NGINX
  4. How to force www or non-www for a cPanel site (the easy way!)
  1. Home
  2. Knowledge Base
  3. cPanel Hosting
  4. How to force www or non-www for a cPanel site (the easy way!)
  1. Home
  2. Knowledge Base
  3. Getting Started
  4. How to force www or non-www for a cPanel site (the easy way!)

It is recommended by Google that your site is only accessible via either www or without www (and NOT both). As such, you should configure a redirect to force one or the other. We provide a simple facility for doing this…

  1. Login to cPanel
  2. Go to ‘Nginx Cluster Control’ section and select ‘CLOUDNS’
  3. Select the domain you wish to enable the protection for from the dropdown list and click ‘Configure’
  4. Select ‘Application Settings’
  5. Select the preferred option from the ‘www redirection’ dropdown
  6. Click ‘Submit’

Note: If you are using WordPress, you will need to ensure your correct domain (with or without www.) is added to the Settings -> General screen.

Was this article helpful?

Related Articles