How do I redirect non-www to www?

Simply add the following to the .htaccess file in your public_html folder:

RewriteEngine On
Options +FollowSymlinks
RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L]

Be sure to replace domain with your domain name

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to login to cPanel

Please watch our movie tutorial on how to login to cPanel. If you recently purchased a new...

What settings do I need to upload my website?

FileZilla The process of uploading content for your website using FileZilla is given below: (We...

How do I create a new file?

For small text files it can be easier to create them online, rather than on your home computer...

What is an SSL certificate?

The SSL (secure socket layer) protocol is the Web standard for encrypting communications between...

How do I Upload files in File Manager?

ou can use File Manager to upload files to your web site, up to 12 files in one go. Although...