杰奇(jieqiCMS)小說全站偽靜態規則(含下載)
[重要通告]如您遇疑難雜癥,本站支持知識付費業務,掃右邊二維碼加博主微信,可節省您寶貴時間哦!
[code]
杰奇1.7全站偽靜態設置
請把以下內容保存為 httpd.ini
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
#RewriteRule ^(.*)/index.html$ /index\.php
#RewriteRule ^(.*)/catalog/([0-9]+)-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
#RewriteRule ^(.*)/book/([0-9]+)\.html$ $1/modules/article/articleinfo\.php\?id=$2 [L]
RewriteRule ^/index\.html$ /index\.php [L]
RewriteRule ^(.*)/search\.html$ $1/modules/article/search\.php [L]
RewriteRule ^(.*)/book\.html$ $1/modules/article/index\.php [L]
RewriteRule ^(.*)/register\.html$ $1/register\.php [L]
RewriteRule ^(.*)/login\.html$ $1/login\.php [L]
RewriteRule ^(.*)/note.html$ $1/modules/note/index\.php [L]
RewriteRule ^(.*)/vote.html$ $1/modules/vote/index\.php [L]
RewriteRule ^(.*)/book/([0-9]+)\.html$ $1/modules/article/articleinfo\.php\?id=$2 [L]
RewriteRule ^(.*)/full\.html$ $1/modules/article/index\.php\?fullflag=1 [L]
RewriteRule ^(.*)/serial\.html$ $1/modules/article/index\.php\?fullflag=0 [L]
RewriteRule ^(.*)/initial/0\.html$ $1/modules/article/index\.php\?initial=~ [L]
RewriteRule ^(.*)/initial/0-([0-9]+)\.html$ $1/modules/article/index\.php\?initial=~&page=$2 [L]
RewriteRule ^(.*)/initial/([1A-Z])\.html$ $1/modules/article/articlelist\.php\?initial=$2page=$3 [L]
RewriteRule ^(.*)/initial/([1A-Z])-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?initial=$2&page=$3 [L]
RewriteRule ^(.*)/catalog/([0-9]+)-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
RewriteRule ^(.*)/catalog/([0-9]+)/index\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
RewriteRule ^(.*)/catalog/-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
RewriteRule ^(.*)/catalog/([a-zA-Z0-9]+)\.html$ $1/modules/article/articlelist.php?class=$2 [L]
RewriteRule ^(.*)/fullflag/([0-9]+)-([0-9]+)\.html$ $1/modules/article/index\.php\?fullflag=$2&page=$3 [L]
RewriteRule ^(.*)/toplist/([a-z]+)-([0-9]+)\.html$ $1/modules/article/toplist\.php\?sort=$2&page=$3 [L]
RewriteRule ^(.*)/list/([0-9]+)\.html$ $1/modules/article/reader\.php\?aid=$2 [L]
RewriteRule ^(.*)/bookreader/([0-9]+)-([0-9]+)\.html$ $1/modules/article/reader\.php\?aid=$2&cid=$3
RewriteRule ^(.*)/bookreader/vol-([0-9]+)-([0-9]+)\.html$ modules/article/showvolume.php?aid=$1&vid=$2 [L]
RewriteRule ^(.*)/addbookcase-([0-9]+)-([0-9]+)\.html$ $1/modules/article/addbookcase.php?bid=$1&cid=$2 [L]
RewriteRule ^(.*)/addbookcase-([0-9]+)\.html$ $1/modules/article/addbookcase.php?bid=$1 [L]
RewriteRule ^(.*)/bookcase\.html$ $1/modules/article/bookcase.php [L]
RewriteRule ^(.*)/userdetail\.html$ $1/userdetail.php [L]
RewriteRule ^(.*)/myarticle\.html$ $1/modules/article/myarticle.php [L]
#RewriteRule ^(.*)/catalog/([0-9]+)_([0-9]+)\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
#RewriteRule ^(.*)/book/([0-9]+)\.html$ $1/modules/article/articleinfo\.php\?id=$2 [L]
再請在網站后臺的偽靜態里設置依次如下:
[color=Red]
/book/<{$id}>.html
/catalog/<{$class}>-<{$page}>.html
/initial/<{$initial}>-<{$page}>.html
/toplist/<{$sort}>-<{$page}>.html
[/color]
以上內容的前提條件為html已經做好了映射
不愿意復制的,就注冊個ID下載吧,直接解壓到含有偽靜態主機的根目錄即可;
[/code]點擊下載此文件
問題未解決?付費解決問題加Q或微信 2589053300 (即Q號又微信號)右上方掃一掃可加博主微信
所寫所說,是心之所感,思之所悟,行之所得;文當無敷衍,落筆求簡潔。 以所舍,求所獲;有所依,方所成!
謝謝,我下載了,照文章操作好像不行,好像少了點東西。
后臺還得設置的