fix .htaccess
This commit is contained in:
parent
1eb7d3a2c6
commit
66e7650ae6
11
.htaccess
11
.htaccess
|
@ -1,14 +1,3 @@
|
||||||
php_flag display_startup_errors on
|
php_flag display_startup_errors on
|
||||||
php_flag display_errors on
|
php_flag display_errors on
|
||||||
php_flag html_errors on
|
php_flag html_errors on
|
||||||
|
|
||||||
#rewriterules
|
|
||||||
#urlrewritting
|
|
||||||
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-z]{2})$ index\.php?lang=$1 [L]
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
|
||||||
RewriteRule ^index.php$ index.php/ [L]
|
|
8
html/.htaccess
Normal file
8
html/.htaccess
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
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-z]{2})$ index\.php?lang=$1 [L]
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule ^index.php$ index.php/ [L]
|
Loading…
Reference in New Issue
Block a user