AddDefaultCharset UTF-8 DirectoryIndex index.php Options -Indexes RewriteEngine On RewriteRule ^new/([0-9]*)$ ./index.php?p=index&pages=$1 [L,QSA] RewriteRule ^search$ ./index.php?p=search&$1 [L,QSA] RewriteRule ^tag/([0-9]*)/([0-9]*)$ ./index.php?p=cat&c=$1&pages=$2 [L,QSA] RewriteRule ^online/([0-9]*)/$ ./index.php?p=view&c=$1 [L,QSA] RewriteRule ^download/(.*)/$ ./down.php?id=$1 [L,QSA]