Htaccess File

dodify/website-bathcarparks/master/.htaccess

HTTP_HOST
IndexIgnore */*

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    # Redirect non www to www
    RewriteCond %{HTTP_HOST} !=localhost
    RewriteCond %{HTTP_HOST} !^www.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
</IfModule>
Exit mobile version