杰奇(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号又微信号)右上方扫一扫可加博主微信
所写所说,是心之所感,思之所悟,行之所得;文当无敷衍,落笔求简洁。 以所舍,求所获;有所依,方所成!
谢谢,我下载了,照文章操作好像不行,好像少了点东西。
后台还得设置的