htaccess rewrite url bug fix
Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
parent
cc526dd563
commit
662012976d
12
.htaccess
12
.htaccess
@ -88,9 +88,15 @@ DirectoryIndex index.php index.html index.htm
|
||||
# RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]
|
||||
|
||||
# custom
|
||||
RewriteCond %{HTTP_HOST} !^basebeta\. [NC]
|
||||
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||
|
||||
RewriteCond %{HTTP_HOST} !^basebeta\.materio\.com [NC]
|
||||
RewriteCond %{HTTP_HOST} !^www\.materio\.fr [NC]
|
||||
RewriteCond %{HTTP_HOST} !^materio\.fr [NC]
|
||||
RewriteCond %{HTTP_HOST} !^www\.materio\.net [NC]
|
||||
RewriteCond %{HTTP_HOST} !^.materio\.net [NC]
|
||||
RewriteCond %{HTTP_HOST} !^www\.materio\.eu [NC]
|
||||
RewriteCond %{HTTP_HOST} !^.materio\.eu [NC]
|
||||
RewriteRule ^ http://www.materio.com%{REQUEST_URI} [L,R=301]
|
||||
|
||||
# Modify the RewriteBase if you are using Drupal in a subdirectory or in a
|
||||
# VirtualDocumentRoot and the rewrite rules are not working properly.
|
||||
# For example if your site is at http://example.com/drupal uncomment and
|
||||
|
Loading…
x
Reference in New Issue
Block a user