Yao-Quan-Li/iMarkChina/master/.htaccess - Htaccess File

Yao-Quan-Li/iMarkChina/master/.htaccess

<IfModule mod_rewrite.c>
RewriteEngine On 
RewriteBase / 
RewriteRule ^post-(.*).html$ /?post/$1
RewriteRule ^(.*).html$ /?$1/
RewriteRule ^date-(.*)/$ /?date/$1/
RewriteRule ^tag-(.*)/$  /?tag/$1/
RewriteRule ^page-(.*)$  /?page=$1
RewriteRule ^tag-(.*)/page-(.*)$  /?tag/$1/?page=$2
RewriteRule ^date-(.*)/page-(.*)$  /?date/$1/?page=$2
ErrorDocument 404 /Public/Resources/404.php
</IfModule>

On Github License

Files

Download PDF of Htaccess file

Comments

Apache