From 58ee185239c8b5472f7e1287e420e29778303735 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Fri, 27 Nov 2015 21:12:33 +0100 Subject: [PATCH] fix rewrite rules --- .htaccess | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.htaccess b/.htaccess index 4f2d56e..13aec07 100644 --- a/.htaccess +++ b/.htaccess @@ -6,10 +6,9 @@ php_flag html_errors on #urlrewritting RewriteEngine On RewriteBase / -RewriteRule ^v/([A-Za-z0-9]*)-([a-Z]{2})$ index.php?arena=$1&lang=$2 [L] -RewriteRule ^v/([A-Za-z0-9]*)$ index.php?arena=$1 [L] -RewriteRule ^v/-([a-Z]{2})$ index.php?lang=$1 [L] +RewriteRule ^/([a-zA-Z]*)-([a-z]{2})$ index\.php?arena=$1&lang=$2 [L] +RewriteRule ^/([a-zA-Z]*)$ index\.php?arena=$1 [L] +RewriteRule ^/-([a-z]{2})$ index.php?lang=$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^([A-Za-z0-9]*)$ index.php?page=$1 [L] RewriteRule ^index.php$ index.php/ [L]