超全的dedecms伪静态收集,织梦文章
导读:织梦文章织梦文章网页制作 / CSS / CSS布局实例,模板织梦织梦的模板。
高手可忽略,不定期更新
--->for IIS---&gdede后台模板t;httpd.ini
[ISAPI_Rewrite]
# 缓存3600秒 = 1 小时(hour)
CacheClockRate 3600
RepeatLimit 32
#eg--->/order.html--->/plus/order.php
RewriteRule ^织梦首页模板(.*)/order\.html(?:(\?.*))* $1/plus/order\.php [I]
#eg--->/order/1234.html--->/plus/order.php?arcID=1234
RewriteRule ^(.*)/order/([0-9]+)\.html(?:(\?.*))* $1/plus/order.php\?arcID=$2 [I]
#eg--->/search.html--->/plus/search.php
RewriteRule ^(.*)/search\.html(?:(\?.*))* $1/plus/search\.php?$2 [I]
#eg--->/tags.html--->/plus/tags.php
RewriteRule ^(.*)/tags\.html $1/plus/tags\.php [I]
织梦模板 #eg--->/tag/abc123--->/tag/abc123.html
RewriteRule ^(.*)/tag/([(a-z)+(1-9)]+) $1/tag/$2\.html [L,I]
#eg--->/tags/abc123--->/plus/tags.php?/abc123
RewriteRule ^(.*)/tags/(.*)(?:(\?.*))* $1/plus/tags\.php\?\/$2 [I]
#eg--->/tags/abc/def--->/plus/tags.php?/abc/
RewriteRule ^(.*)/tags/(.*)\/(?:(\?.*))* $1/plus/tags\.php\?\/$2\/ [I]
#eg--->/tags/abc/321def--->/plus/tags.php?/abc/3
RewriteRule ^(.*)/tags/(.*)\/([0-9])(?:(\?.*))* $1/plus/tags\.php\?\/$2\/$3 [I]
#RewriteRule ^(.*)/tags/(.*)\/([0-9])\/(?:(\?.*))* $1/plus/tags\.php\?\/$2\/$3\/ [I]
#eg--->/type.html--->/type.php
RewriteRule ^(.*)/type\.html(?:(\?.*))* $1/type\.php [I]
#eg--->/post/1234.html--->/post.php?did=1234
RewriteRule ^(.*)/post/([0-9]+)\.html(?:(\?.*))* $1/post.php\?did=$2 [I]
#eg--->/question-1234.html--->/question.php?id=1234
RewriteRule ^(.*)/question-([0-9]+)\.html $1/question\.php\?id=$2 [I]
#eg--->/browser-1-1234.html--->/browser.php?tid=1234
RewriteRule ^(.*)/browser-1-([0-9]+)\.html $1/browser\.php\?tid=$2 [I]
#eg--->/browser-2-1234.html--->/browser.php?tid2=1234
RewriteRule ^(.*)/browser-2-([0-9]+)\.html $1/browser\.php\?tid2=$2 [I]
#eg--->/browser-2-1234.html--->/browser.php?tid2=1234
RewriteRule ^(.*)/browser-1-([0-9]+)-page-([0-9]+)\.html $1/browser\.php\?tid=$2&page=$3 [I]
#eg--->/browser-2-1-page-1.html--->/browser.php?tid2=1&page=1
RewriteRule ^(.*)/browser-2-([0-9]+)-page-([0-9]+)\.html $1/browser\.php\?tid2=$2&page=$3 [I]
#eg--->/browser-1.html--->/browser.php?lm=1
RewriteRule ^(.*)/browser-([0-9]+)\.html $1/browser\.php\?lm=$2 [I]
声明: 本文由我的SEOUC技术文章主页发布于:2023-07-18 ,文章超全的dedecms伪静态收集,织梦文章主要讲述静态,标签,织梦网站建设源码以及服务器配置搭建相关技术文章。转载请保留链接: https://www.seouc.com/article/web_29641.html