.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


RewriteRule ^ss_([0-9]+)_([0-9]+)_(.*)\.html$ ss.php?page=$1&fenlei=$2&keywords=$3


.htaccess 伪静态规则
版权声明:若无特殊注明,本文皆为《 傲世零零 》原创,转载请保留文章出处。
本文链接:.htaccess 伪静态规则 http://www.wangjunjiang.com/?post=117
正文到此结束

热门推荐

发表吐槽

你肿么看?

你还可以输入 250 / 250 个字

嘻嘻 大笑 可怜 吃惊 害羞 调皮 鄙视 示爱 大哭 开心 偷笑 嘘 奸笑 委屈 抱抱 愤怒 思考 日了狗

评论信息框

吃奶的力气提交吐槽中...