Answers for "auto redirect to www htaccess"

0

redirect htaccess non www to www

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Posted by: Guest on April-14-2020

Code answers related to "auto redirect to www htaccess"

Browse Popular Code Answers by Language