Answers for "how to redirect site using 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 "how to redirect site using htaccess"

Browse Popular Code Answers by Language