ѡ̳

 找回密码
 ע
搜索
查看: 40|回复: 0
打印 上一主题 下一主题

增加静态化模式的伪静态文件

[复制链接]

789

主题

1158

帖子

4197

积分

Ա

Rank: 9Rank: 9Rank: 9

积分
4197
跳转到指定楼层
¥
发表于 2018-7-25 15:54:25 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
#新增栏目名伪静态 类似静态化  # about/,  about.html,  about_2.html,  about/1.html,   about/1_2.html,   about/page.html,   about/page_2.html
ReWriteRule ^[/]*$  index.html
RewriteRule ^([A-Za-z][0-9A-Za-z]+)/$   index.php?m=content&c=index&a=lists&catdir=$1
RewriteRule ^([^index][A-Za-z][0-9A-Za-z]+).html$   index.php?m=content&c=index&a=lists&catdir=$1
RewriteRule ^([0-9A-Za-z]+)_([0-9]+).html$   index.php?m=content&c=index&a=lists&catdir=$1&page=$2
RewriteRule ^([0-9A-Za-z]+)/([0-9]+).html$   index.php?m=content&c=index&a=show&catdir=$1&id=$2
RewriteRule ^([0-9A-Za-z]+)/([0-9]+)_([0-9]+).html$   index.php?m=content&c=index&a=show&catdir=$1&id=$2&page=$3
RewriteRule ^([0-9A-Za-z]+)/([A-Za-z][0-9A-Za-z]+).html$   index.php?m=content&c=index&a=lists&catdir=$2
RewriteRule ^([0-9A-Za-z]+)/([A-Za-z][0-9A-Za-z]+)_([0-9]+).html$   index.php?m=content&c=index&a=lists&catdir=$2&page=$3
回复

使用道具 举报

您需要登录后才可以回帖 登录 | ע

本版积分规则

QQ|Archiver|ֻ|С|ѡ̳

GMT+8, 2026-5-2 08:44 , Processed in 0.079113 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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