skip to Main Content

APACHE SSL WWW redirect to real name

In .htaccess file: # Enable mod_rewrite RewriteEngine on # Rewrite file name RewriteRule ^dome.htm$ dome.php [L,QSA] # Force www RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} !^www. [NC] RewriteCond %{HTTPS}s ^on(s)| RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] # Force SSL RewriteCond %{HTTPS} off RewriteRule…

VIEW QUESTION
Back To Top
Search