From 3cfde5ee79c3d5b3f61843ab0c8bc22716c3bde8 Mon Sep 17 00:00:00 2001 From: gnieark Date: Fri, 27 Nov 2015 22:41:56 +0100 Subject: [PATCH] fix regex --- html/.htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/.htaccess b/html/.htaccess index dd8169d..8d5ca60 100644 --- a/html/.htaccess +++ b/html/.htaccess @@ -2,7 +2,7 @@ RewriteEngine On RewriteBase / RewriteRule ^([a-zA-Z]{1,})-([a-z]{2})$ index\.php?arena=$1&lang=$2 [L] RewriteRule ^([a-zA-Z]{1,})$ index\.php?arena=$1 [L] -RewriteRule ^-([a-z]{2})$ index\.php?lang=$1 [L] +RewriteRule ^/-([a-z]{2})$ index\.php?lang=$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^index.php$ index.php/ [L] +RewriteRule ^index.php$ index.php/ [L] \ No newline at end of file