diff --git a/.htaccess b/.htaccess index c836f7d..5d900f3 100644 --- a/.htaccess +++ b/.htaccess @@ -21,7 +21,9 @@ RewriteRule ^fonts/(.+)$ lib/fonts/$1 [L] RewriteRule ^([0-9]+-[0-9]{1,2})/(.+)$ index.php?action=read&id=$1&file=$2 [L] # html page RewriteRule ^gallery/([0-9]+-[0-9]{1,2})/ index.php?action=html&id=$1&gallery=1&%{QUERY_STRING} [L] -RewriteRule ^([0-9]+-[0-9]{1,2})/ index.php?action=html&id=$1&%{QUERY_STRING} [L] +RewriteRule ^gallery/([0-9]+-[0-9]{1,2}) index.php?action=html&id=$1&gallery=1&%{QUERY_STRING} [L] +RewriteRule ^([0-9]+-[0-9]{1,2})/$ index.php?action=html&id=$1&%{QUERY_STRING} [L] +RewriteRule ^([0-9]+-[0-9]{1,2})$ index.php?action=html&id=$1&%{QUERY_STRING} [L] # download force RewriteRule ^dl/([0-9]+-[0-9]{1,2})/(.+)$ index.php?action=dl&id=$1&file=$2 [L] # delete