fix regex

This commit is contained in:
gnieark 2015-11-27 22:36:04 +01:00
parent a8f016f728
commit cf6c459a02

View File

@ -1,7 +1,7 @@
RewriteEngine On
RewriteBase /
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-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]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d