From 5716acf5bb70ffa5bfe02cacc8cba464355b4441 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Tue, 24 Nov 2015 13:20:51 +0100 Subject: [PATCH] htaccess fixe --- .htaccess | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.htaccess b/.htaccess index 66cc1bbd..93ea7cd9 100755 --- a/.htaccess +++ b/.htaccess @@ -100,11 +100,11 @@ DirectoryIndex index.php index.html index.htm # To redirect all users to access the site WITH the 'www.' prefix, # (http://example.com/... will be redirected to http://www.example.com/...) # uncomment the following: - RewriteCond %{HTTPS} off [OR] - # RewriteCond %{HTTP_HOST} . + # RewriteCond %{HTTPS} off [OR] + RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^www\. [NC] - # RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] - RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] + RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] + # RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # To redirect all users to access the site WITHOUT the 'www.' prefix, # (http://www.example.com/... will be redirected to http://example.com/...)