.htaccess 伪静态规则
.htaccess 伪静态规则--内容如下:
# 将 RewriteEngine 模式打开
RewriteEngine On# Rewrite 系统规则请勿修改
RewriteRule ^index\.html$ index.php
RewriteRule ^news\.html$ news.php
RewriteRule ^news_b([0-9]+)\.html$ news.php?bigclass=$1
RewriteRule ^news_b([0-9]+)_p([0-9]+)\.html$ news.php?bigclass=$1&page=$2
RewriteRule ^shownews_b([0-9]+)_([0-9]+)\.html$ shownews.php?bigclass=$1&id=$2
RewriteRule ^shownews_([0-9]+)\.html$ shownews.php?id=$1
RewriteRule ^dianmingpian_b([0-9]+)_h([0-9]+)\.html$ dianmingpian.php?bigclass=$1&id=$2
RewriteRule ^bigproducts_b([0-9]+)\.html$ bigproducts.php?bigclass=$1
RewriteRule ^products_b([0-9]+)_c([0-9]+)\.html$ products.php?bigclass=$1&class=$2
RewriteRule ^products_b([0-9]+)_c([0-9]+)_p([0-9]+)\.html$ products.php?bigclass=$1&class=$2&page=$3
版权声明:若无特殊注明,本文皆为《
傲世零零 》原创,转载请保留文章出处。
本文链接:.htaccess 伪静态规则 http://www.wangjunjiang.com/?post=117
正文到此结束
发表吐槽
你肿么看?