Answers for "redirect htaccess non www to www"

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 "redirect htaccess non www to www"

Browse Popular Code Answers by Language