fix redirection
This commit is contained in:
@@ -4,9 +4,9 @@ RewriteBase /
|
|||||||
# Redirect www, other domains, non-HTTPS
|
# Redirect www, other domains, non-HTTPS
|
||||||
RewriteCond %{HTTP_HOST} ^www\.mehl\.mx$ [NC]
|
RewriteCond %{HTTP_HOST} ^www\.mehl\.mx$ [NC]
|
||||||
RewriteRule ^(.*)$ https://mehl.mx/$1 [R=301,L]
|
RewriteRule ^(.*)$ https://mehl.mx/$1 [R=301,L]
|
||||||
RewriteCond %{HTTP_HOST} !^mehl\.mx$ [NC]
|
RewriteCond %{HTTP_HOST} !^mehl\.mx(.*)$ [NC]
|
||||||
RewriteRule ^(.*)$ https://mehl.mx/ [R=301,L]
|
RewriteRule ^(.*)$ https://mehl.mx/ [R=301,L]
|
||||||
RewriteCond %{HTTPS} !on
|
RewriteCond %{SERVER_PORT} !^443$
|
||||||
RewriteRule ^(.*)$ https://mehl.mx/$1 [R=301,L]
|
RewriteRule ^(.*)$ https://mehl.mx/$1 [R=301,L]
|
||||||
|
|
||||||
# Redirect old links
|
# Redirect old links
|
||||||
|
|||||||
Reference in New Issue
Block a user