超全的dedecms伪静态收集

超全的织梦dedecms静态收集 。

 

--->for IIS--->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]

 

 

 

#eg--->/browser-1-90-3.html--->/browser.php?tid=90&lm=3

 

RewriteRule ^(.*)/browser-1-([0-9]+)-([0-9]+)\.html $1/browser\.php\?tid=$2&lm=$3 [I]

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/89534c18a8887c42a1ee7df23994bde8.html