Warning: Undefined array key "night" in /www/wwwroot/dhaomu.com/wp-content/themes/b2/header.php on line 18

Discuz品牌空间伪静态规则

discuz教程:品牌空间伪静态规则!

代码演示

###独立主机用户使用此段规则###
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)/store-([0-9]+)\.html$ $1/store.php?id=$2 [L,NC]
RewriteRule ^(.*)/store-([0-9]+)-([a-z]+)\.html$ $1/store.php?id=$2&action=$3 [L,NC]
RewriteRule ^(.*)/store-([0-9]+)-([a-z]+)-([0-9]+)\.html$ $1/store.php?id=$2&action=$3&xid=$4 [L,NC]
RewriteRule ^(.*)/store-([0-9]+)-([a-z]+)-catid-([0-9]+)\.html$ $1/store.php?id=$2&action=$3&catid=$4 [L,NC]
RewriteRule ^(.*)/street-([0-9]+)\.html$ $1/street.php?catid=$2 [L,NC]
RewriteRule ^(.*)/street-([0-9]+)-([0-9]+)\.html$ $1/street.php?catid=$2&tagid=$3 [L,NC]
</IfModule>
###独立主机用户使用此段规则###
###虚拟主机用户使用此段规则###
# 将 RewriteEngine 模式打开
RewriteEngine On
# 修改以下语句中的 /brand 为你的品牌空间目录相对地址,如果程序放在根目录中,请将 /brand 修改为 /
RewriteBase /brand
# Rewrite 系统规则请勿修改
RewriteRule ^store-([0-9]+)\.html$ store.php?id=$1 [L,NC]
RewriteRule ^store-([0-9]+)-([a-z]+)\.html$ store.php?id=$1&action=$2 [L,NC]
RewriteRule ^store-([0-9]+)-([a-z]+)-([0-9]+)\.html$ store.php?id=$1&action=$2&xid=$3 [L,NC]
RewriteRule ^store-([0-9]+)-([a-z]+)-catid-([0-9]+)\.html$ store.php?id=$1&action=$2&catid=$3 [L,NC]
RewriteRule ^street-([0-9]+)\.html$ street.php?catid=$1 [L,NC]
RewriteRule ^street-([0-9]+)-([0-9]+)\.html$ street.php?catid=$1&tagid=$2 [L,NC]
###虚拟主机用户使用此段规则###
温馨提示:
1.本站大部分内容均收集于网络!若内容若侵犯到您的权益,请发送邮件至:duhaomu@163.com,我们将第一时间处理!
2.资源所需价格并非资源售卖价格,是收集、整理、编辑详情以及本站运营的适当补贴,并且本站不提供任何免费技术支持。
3.所有资源仅限于参考和学习,版权归原作者所有,更多请阅读网站声明

给TA赞赏
共{{data.count}}人
人已赞赏
编程技巧

Discuz如何删除标题栏的Powered by Discuz

2020-9-21 0:00:00

编程技巧

织梦安全设置及网站安全汇总教程

2020-10-13 0:00:00

0 条回复 A文章作者 M管理员

Warning: Trying to access array offset on value of type null in /www/wwwroot/dhaomu.com/wp-content/themes/b2/functions.php on line 3914

Warning: Trying to access array offset on value of type null in /www/wwwroot/dhaomu.com/wp-content/themes/b2/functions.php on line 3914
----《》
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索