PHPIN.NET

 找回密码
 立即注册
查看: 5488|回复: 1

[其他] 帝国cms7.5 伪静态规则

[复制链接]

469

主题

31

回帖

5509

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5509
发表于 2018-5-3 16:28:07 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x
Apache:
  1. RewriteEngine On
  2. Rewritebase /
  3. #信息内容页
  4. RewriteCond %{QUERY_STRING} ^(.*)$
  5. RewriteRule ^showinfo-([0-9]+)-([0-9]+)-([0-9]+).html$ /e/action/ShowInfo.php?classid=$1&id=$2&page=$3 [NC,L]
  6. #信息列表
  7. RewriteCond %{QUERY_STRING} ^(.*)$
  8. RewriteRule ^listinfo-([0-9]+)-([0-9]+).html$ /e/action/ListInfo/index.php?classid=$1&page=$2 [NC,L]
  9. #标题分类列表页
  10. RewriteCond %{QUERY_STRING} ^(.*)$
  11. RewriteRule ^infotype-([0-9]+)-([0-9]+).html$ /e/action/InfoType/index.php?ttid=$1&page=$2 [NC,L]
  12. #TAGS信息列表页
  13. RewriteCond %{QUERY_STRING} ^(.*)$
  14. RewriteRule ^tags-(.+?)-([0-9]+).html$ /e/tags/index.php?tagname=$1&page=$2 [NC,L]
  15. #评论列表页
  16. RewriteCond %{QUERY_STRING} ^(.*)$
  17. RewriteRule ^comment-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$  /e/pl/index.php?doaction=$1&classid=$2&id=$3&page=$4&myorder=$5&tempid=$6 [NC,L]
复制代码

其他环境自行转换。

3

主题

24

回帖

228

积分

中级会员

Rank: 3Rank: 3

积分
228
发表于 2018-5-6 21:11:54 | 显示全部楼层
支持群主
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|PHPIN.NET ( 冀ICP备12000898号-14 )|网站地图

GMT+8, 2024-4-24 09:17

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表