新聞中心
騎士cms(騎士人才系統(tǒng))偽靜態(tài)設(shè)置方法
作者 / 無(wú)憂主機(jī) 時(shí)間 2014-09-04 17:58:16
騎士cms(騎士人才系統(tǒng))是一項(xiàng)基于PHP+MYSQL為核心開(kāi)發(fā)的一套免費(fèi) + 開(kāi)源專業(yè)人才系統(tǒng)。軟件具執(zhí)行效率高、模板自由切換、后臺(tái)管理功能靈活等諸多優(yōu)秀特點(diǎn)。憑借騎士網(wǎng)絡(luò)的不斷創(chuàng)新精神和認(rèn)真的工作態(tài)度,相信騎士能夠?yàn)槟鷰?lái)全新的使用體驗(yàn),在最近一段時(shí)間里騎士CMS用的人也在不斷的增加一個(gè)月中無(wú)憂小編也能碰上四五次吧!為了優(yōu)化好網(wǎng)站,許多的網(wǎng)站都會(huì)去選擇空間偽靜態(tài)設(shè)置。 無(wú)憂小編認(rèn)為雖然騎士cms系統(tǒng)的偽靜態(tài)沒(méi)有做到百分之百全部偽靜態(tài),不過(guò)總的來(lái)說(shuō)還是夠用的下面無(wú)憂小編就和大家分享下小編總結(jié)的士人才系統(tǒng)偽靜態(tài)設(shè)置方法,還是老樣子在根目錄中(public html)新建一個(gè).htaccess 把如下的代碼復(fù)制到.htaccess里面去:
RewriteEngine On RewriteBase / RewriteRule ^index.htm$ index.php RewriteRule ^jobs/jobs-show-([0-9]+).htm$ jobs/jobs-show.php?id=$1 RewriteRule ^jobs/jobs-list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).htm$ jobs/jobs-list.php?category=$1&subclass=$2&district=$3&sdistrict=$4&settr=$5&trade=$6&wage=$7&nature=$8&scale=$9&inforow=$10&sort=$11&key=$12&page=$13 RewriteRule ^jobs/jobs-contrast-(.*).htm$ jobs/jobs-contrast.php?id=$1 RewriteRule ^jobs/map-search-([0-9]+).htm$ jobs/map-search.php?id=$1 RewriteRule ^jobs/jobtag-search-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).htm$ jobs/jobtag-search.php?category=$1&subclass=$2&district=$3&sdistrict=$4&jobtag=$5&inforow=$6&page=$7 RewriteRule ^jobs/street-search-(.*)-(.*)-(.*)-(.*).htm$ jobs/street-search.php?streetid=$1&sort=$2&inforow=$3&page=$4 RewriteRule ^jobs/officebuilding-search-(.*)-(.*)-(.*)-(.*).htm$ jobs/officebuilding-search.php?officebuildingid=$1&sort=$2&inforow=$3&page=$4 RewriteRule ^company/company-list-(.*)-(.*)-([0-9]+).htm$ company/index.php?trade=$1&inforow=$2&page=$3 RewriteRule ^company/company-show-([0-9]+).htm$ company/company-show.php?id=$1 RewriteRule ^company/company-jobs-([0-9]+)-([0-9]+).htm$ company/company-jobs.php?id=$1&page=$2 RewriteRule ^company/company-comment-([0-9]+)-([0-9]+).htm$ company/company-comment.php?id=$1&page=$2 RewriteRule ^company/company-comment-show-([0-9]+).htm$ company/company-comment-show.php?id=$1 RewriteRule ^company/company-img-([0-9]+)-([0-9]+).htm$ company/company-img.php?id=$1&page=$2 RewriteRule ^company/company-news-([0-9]+)-([0-9]+).htm$ company/company-news.php?id=$1&page=$2 RewriteRule ^company/company-news-show-([0-9]+).htm$ company/company-news-show.php?id=$1 RewriteRule ^resume/resume-show-([0-9]+).htm$ resume/resume-show.php?id=$1 RewriteRule ^resume/resume-list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).htm$ resume/resume-list.php?category=$1&subclass=$2&district=$3&sdistrict=$4&experience=$5&education=$6&sex=$7&photo=$8&talent=$9&inforow=$10&sort=$11&key=$12&page=$13 RewriteRule ^resume/resumetag-search-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).htm$ resume/resume-search.php?category=$1&subclass=$2&district=$3&sdistrict=$4&resumetag=$5&inforow=$6&page=$7 RewriteRule ^news/news-list-([0-9]+)-([0-9]+).htm$ news/news-list.php?id=$1&page=$2 RewriteRule ^news/news-search-(.*)-([0-9]+).htm$ news/news-search.php?key=$1&page=$2 RewriteRule ^news/news-show-([0-9]+).htm$ news/news-show.php?id=$1 RewriteRule ^explain/explain-show-([0-9]+).htm$ explain/explain-show.php?id=$1 RewriteRule ^notice/notice-list-([0-9]+)-([0-9]+).htm$ notice/notice-list.php?id=$1&page=$2 RewriteRule ^notice/notice-show-([0-9]+).htm$ notice/notice-show.php?id=$1 RewriteRule ^hrtools/hrtools-list-([0-9]+).htm$ hrtools/hrtools-list.php?id=$1 RewriteRule ^jobfair/jobfair-list-([0-9]+).htm$ jobfair/jobfair-list.php?page=$1 RewriteRule ^jobfair/jobfair-show-([0-9]+).htm$ jobfair/jobfair-show.php?id=$1 RewriteRule ^jobfair/jobfair-exhibitors-([0-9]+)-([0-9]+).htm$ jobfair/jobfair-exhibitors.php?id=$1&page=$2 RewriteRule ^simple/([0-9]+).htm$ simple/simple-list.php?key=$1&keytype=$2&page=$3 RewriteRule ^simple/simple-show-([0-9]+).htm$ simple/simple-show.php?id=$1 RewriteRule ^help/help-list-([0-9]+)-([0-9]+).htm$ help/help-list.php?id=$1&page=$2 RewriteRule ^help/help-search-(.*)-([0-9]+).htm$ help/help-search.php?key=$1&page=$2 RewriteRule ^help/help-show-([0-9]+).htm$ help/help-show.php?id=$1進(jìn)入系統(tǒng)-頁(yè)面管理-頁(yè)面選擇-設(shè)置鏈接 [caption id="attachment_16375" align="alignnone" width="300"] qishicms[/caption] 點(diǎn)擊設(shè)置鏈接后會(huì)彈出: [caption id="attachment_16376" align="alignnone" width="300"] qishicms[/caption] 最后提示設(shè)置完成 [caption id="attachment_16377" align="alignnone" width="300"] qishicms[/caption] 按照如上的方法設(shè)置后就完成了騎士cms偽靜態(tài)方法。下面是無(wú)憂小編的截圖給大家展示下: [caption id="attachment_16378" align="alignnone" width="300"] qishicms[/caption] 無(wú)憂主機(jī)相關(guān)文章推薦閱讀: LINUX主機(jī)下DISCUZ X2.5完美偽靜態(tài)規(guī)則 DISCUZ 3.0偽靜態(tài)設(shè)置圖文幫助教程
本文地址:http://www.gle-technology.com/74cms/16374.html