Permalink
Browse files

Static catalog page, printpage only print html/json

  • Loading branch information...
1 parent 31025bd commit c63a4090d2b92ad790373d904e6793b16213f94d @Yushe committed Jan 28, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 .htaccess
View
@@ -6,7 +6,7 @@ Options +FollowSymLinks -Indexes
RewriteEngine on
RewriteRule ^res/(\d+)/?$ res/$1.html [NC,L] #res/# -> res/#.html
RewriteRule ^res/(\d+).json$ api/$1.json [NC,L] #res/#.json -> api/#.json.
-RewriteRule ^(admin|catalog)/?$ imgboard.php?mode=$1 [L]
+RewriteRule ^(logs|catalog)/?$ $1.html [L]
RewriteRule ^(?:page/)(\d+)/?$ $1.html [NC,L] #page/# -> #.html (indexes)
RewriteRule banned banned.php [NC]

0 comments on commit c63a409

Please sign in to comment.