- RewriteEngine On
- RewriteBase /
- rewritecond %{QUERY_STRING} ^(.*)$
- RewriteRule ^(sitemap\.(xml|html)|([\/_A-Za-z0-9]+)sitemap\.(xml|html))$ /index\.php\?typestr=$1
- RewriteRule ^((?!zzadmin|phpmyadmin|templets|uploads|data|images|install|source|Plugins|sitemap|index|robots|favicon).*)st-([0-9]+)-([0-9]+).html /index\.php\?act=list&tid=$2&PageNo=$3&typestr=$1
- RewriteRule ^((?!zzadmin|phpmyadmin|templets|uploads|data|images|install|source|Plugins|sitemap|index|robots|favicon).*)/class-([0-9]+)-([0-9]+).html /index\.php\?act=list&classid=$2&PageNo=$3&typestr=$1
- rewritecond %{QUERY_STRING} ^(.*)$
- RewriteRule ^list-([0-9]+)-([0-9]+).html /index\.php\?act=list&tid=$1&PageNo=$2
- RewriteRule ^/article_([0-9]+)([\/]*)$ /index\.php\?act=show&aid=$1&typestr=article_
- RewriteRule ^((?!zzadmin|phpmyadmin|templets|uploads|data|images|install|source|Plugins|sitemap|index|robots|favicon).*)([_/\-]+)([0-9]+)([\/]*)$ /index\.php\?act=show&aid=$3&typestr=$1
- RewriteRule ^((?!zzadmin|phpmyadmin|templets|uploads|data|images|install|source|Plugins|sitemap|index|robots|favicon)[_\-A-Za-z0-9]+)([\/]*)$ /index\.php\?act=list&typestr=$1
- RewriteRule ^((?!zzadmin|templets|uploads|data|images|install|source|Plugins|index|robots|favicon)[_\-A-Za-z0-9]+)/([_\-A-Za-z0-9]+)([\/]*)$ /index\.php\?act=list&typestr=$1/$2
- RewriteRule ^((?!zzadmin|phpmyadmin|templets|uploads|data|images|install|source|Plugins|sitemap|index|robots|favicon).*)_([A-Za-z0-9]+)\.html$ /index\.php\?act=show&aid=$2&typestr=$1
- RewriteRule ^((?!zzadmin|phpmyadmin|templets|uploads|data|images|install|source|Plugins|sitemap|index|robots|favicon).*)/([0-9]+)\.html$ /index\.php\?act=show&aid=$2&typestr=$1
- RewriteRule ^templets/([_\-A-Za-z0-9]+)/style/([_\-A-Za-z0-9]+).css(.*)$ /index\.php\?act=style&dir=$1&filename=$2
复制代码 |
|