htaccess again
Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
parent
1a145b8470
commit
83cf488d4a
@ -90,8 +90,8 @@ DirectoryIndex index.php index.html index.htm
|
|||||||
# To redirect all users to access the site WITH the 'www.' prefix,
|
# To redirect all users to access the site WITH the 'www.' prefix,
|
||||||
# (http://example.com/... will be redirected to http://www.example.com/...)
|
# (http://example.com/... will be redirected to http://www.example.com/...)
|
||||||
# uncomment the following:
|
# uncomment the following:
|
||||||
RewriteCond %{HTTP_HOST} !^www\. [NC]
|
# RewriteCond %{HTTP_HOST} !^www\. [NC]
|
||||||
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
# RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||||
#
|
#
|
||||||
# To redirect all users to access the site WITHOUT the 'www.' prefix,
|
# To redirect all users to access the site WITHOUT the 'www.' prefix,
|
||||||
# (http://www.example.com/... will be redirected to http://example.com/...)
|
# (http://www.example.com/... will be redirected to http://example.com/...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user