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

Can I upload files via an online file manager ?

Yes. Login to your Control Panel (http://www.yourdomain.com/cpanel/) and select "File Manager".

How to create an autoresponder in Cpanel

We do have a video tutorial on how to create an autoresponder. Autoresponder returns a...

How to login to cPanel

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

What is FTP?

FTP stands for File Transfer Protocol and it is the process used to upload and download files...