You cannot copy content of this page

WWW redirect with .htaccess in cPanel

You can redirect your non www domain to www domain with this code. Just change your website url from and then save in your .htaccess file.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^ [NC]
RewriteRule ^(.*)$$1 [L,R=301,NC]


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.