htaccess: force non www site to a www

RewriteEngine On 

RewriteCond %{HTTP_HOST} !^www\.YOURDOMAIN\.COM$ [NC] 

RewriteRule ^(.*)$ http://www.YOURDOMAIN.COM/$1 [R=301,L]
Designed by Forrest
Copyright © 2003 – 2020 All Rights Reserved
Top menu-circlecross-circle