最新版分类目录的伪静态规则

香肠的做法2022-07-13  15

# BEGIN

重写引擎打开

#主页、分类浏览、数据存档、最新更新、排行榜、反馈

重写者^(index|webdir|weblink|article|category|update|archives|top|feedback|link|[/h/

rssfeed|sitemap)(\。html)$ index.php\?mod=%1

重写者^(index|webdir|weblink|article|category|update|archives|top|feedback|link|[/h/

rssfeed|sitemap)(\/?)$ index.php\?mod=

#最近更新

重写者^update-(\d+)-(\d+)\.html$ index.php\?mod = update days = $ 1 page = $ 2

重写者^update\/(\d+)-(\d+)\.html$ index.php\?mod = update days = $ 1 page = $ 2

rewriterule ^update\/(\d+)/(\d+)$指数. php\?mod = update days = $ 1 page = $ 2

#数据存档

重写者^archives-(\d+)-(\d+)\.html$ index.php\?mod = archives date = $ 1 page = $ 2

重写者^archives\/(\d+)-(\d+)\.html$ index.php\?mod = archives date = $ 1 page = $ 2

rewriterule ^archives\/(\d+)/(\d+)$指数. php\?mod = archives date = $ 1 page = $ 2

#在电台内搜索

重写者^search-(name|url|tags|intro)-(.*)-(\d+)\。html$ index.php\?mod=searchtype=

query=page=

重写者^search-(name|url|tags|intro)-(.*)\.html$ index.php\?mod=searchtype=

query=

重写者^search\/(name|url|tags|intro)\/(.*)-(\d+)\。html$ index.php\?mod=searchtype=

query=page=

重写者^search\/(name|url|tags|intro)\/(.*)\.html$ index.php\?mod=searchtype=

query=

重写者^search\/(name|url|tags|intro)\/(.+)/(\d+)$ index.php\?mod=searchtype=

query=page=

重写者^search\/(name|url|tags|intro)\/(.+)$ index.php\?mod = search type = $ 1 query = $ 2

#站点详细信息

重写者^siteinfo-(\d+)\.html$ index.php\?mod=siteinfowid=

重写者^siteinfo\/(\d+)\.html$ index.php\?mod=siteinfowid=

rewriterule ^siteinfo\/(\d+)$指数. php\?mod=siteinfowid=

#文章详解

重写者^artinfo-(\d+)\.html$ index.php\?mod=artinfoaid=

重写者^artinfo\/(\d+)\.html$ index.php\?mod=artinfoaid=

rewriterule ^artinfo\/(\d+)$指数. php\?mod=artinfoaid=

#链接详细信息

重写者^linkinfo-(\d+)\.html$ index.php\?mod=linkinfolid=

重写者^linkinfo\/(\d+)\.html$ index.php\?mod=linkinfolid=

rewriterule ^linkinfo\/(\d+)$指数. php\?mod=linkinfolid=

#单页

重写者^diypage-(\d+)\.html$ index.php\?mod=diypagepid=

rewriterule ^diypage\/(\d+)$指数. php\?mod=diypagepid=

# RSS

重写者^rssfeed-(.+)-(\d+)\。html$ index.php\?mod = RSS feed type = $ 1 cid = $ 2

重写者^rssfeed-(.+)\.html$ index.php\?mod = RSS feed type = $ 1 cid = $ 2

重写者^rssfeed\/(.+)/$ index.php\?mod=rssfeedtype=

重写者^rssfeed\/(.+)/(\d+)\。html$ index.php\?mod = RSS feed type = $ 1 cid = $ 2

重写者^rssfeed\/(.+)$ index.php\?mod=rssfeedtype=

重写者^rssfeed\/(.+)/(\d+)$ index.php\?mod = RSS feed type = $ 1 cid = $ 2

#网站地图

重写者^sitemap-(.+)\.html$ index.php\?mod=sitemapcid=

rewriterule ^sitemap\/(\d+)\/$指数. php\?mod=sitemapcid=

rewriterule ^sitemap\/(\d+)$指数. php\?mod=sitemapcid=

#分类目录

重写者^webdir-(.+)-(\d+)-(\d+)\。html$ index.php\?mod=webdircid=page=

重写者^webdir\/(.+)\/(\d+)-(\d+)\。html$ index.php\?mod=webdircid=page=

重写者^webdir\/(.+)\/(\d+)/(\d+)$ index.php\?mod=webdircid=page=

重写者^article-(.+)-(\d+)-(\d+)\。html$ index.php\?mod = article cid = $ 2 page = $ 3

重写者^article\/(.+)\/(\d+)-(\d+)\。html$ index.php\?mod = article cid = $ 2 page = $ 3

重写者^article\/(.+)\/(\d+)/(\d+)$ index.php\?mod = article cid = $ 2 page = $ 3

# END

转载请注明原文地址:https://juke.outofmemory.cn/read/712961.html

最新回复(0)