From 55b8dd1544ed4c35a022a12d7e37d96f23c43804 Mon Sep 17 00:00:00 2001 From: mxmehl Date: Fri, 26 Jun 2015 17:54:14 +0300 Subject: [PATCH] next try to fix redirection from /de/sitepage/ --- .htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index c33e9db..1fa122e 100644 --- a/.htaccess +++ b/.htaccess @@ -17,11 +17,11 @@ 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 ^(..)/([A-Za-z])/?$ /$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 -RewriteRule ^([a-z]+)/?$ /de/$1 [R=301,L] +RewriteRule ^([A-Za-z]+)/?$ /de/$1 [R=301,L] ## Error Documents ErrorDocument 403 /404.php