next try to fix redirection from /de/sitepage/

This commit is contained in:
2015-06-26 17:52:39 +03:00
parent 334a9b1229
commit 9b43a5fae0

View File

@@ -17,7 +17,7 @@ RewriteRule ^(.*) http://mehl.mx/$1 [R=301,L]
# Rewrite URL/de to URL/index.de.php
RewriteRule ^(..)/?$ /index.$1.php
# Rewrite e.g. URL/en/contact to URL/contact.en.php
RewriteRule ^(..)/(.*)/?$ /$2.$1.php
RewriteRule ^(..)/([A-Za-z])/?$ /$2.$1.php
# Rewrite empty URL to standard index page
RewriteRule ^/?$ index.de.php
# Rewrite e.g. URL/contact to URL/de/contact and make it visible