You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
504 B
14 lines
504 B
1 year ago
|
RewriteEngine on
|
||
|
#RewriteBase /
|
||
|
|
||
|
# Do not process image, video or CSS files further
|
||
|
RewriteRule \.(css|eot|gif|gz|ico|inc|jpe?g|js|ogg|oga|ogv|mp4|m4a|mp3|png|svg|ttf|txt|woff|xml)$ - [L]
|
||
|
|
||
|
# Leave /admin and /install static
|
||
|
RewriteRule ^(admin|install).*$ - [L]
|
||
|
|
||
|
# Rewrite web pages to one master page
|
||
|
RewriteRule ^([^/\.]+)/?$ index.php?page=$1 [QSA,L]
|
||
|
RewriteRule ^([^/\.]+)/([^/]+)/?$ index.php?page=$1&id=$2 [QSA,L]
|
||
|
RewriteRule ^([^/\.]+)/([^/]+)/([^/]+)/? index.php?page=$1&id=$2&subpage=$3 [QSA,L]
|