fix regex

This commit is contained in:
gnieark 2015-11-27 22:41:56 +01:00
parent cf6c459a02
commit 3cfde5ee79

View File

@ -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]