鄭州網站建設始于2004年!QQ咨詢:12269363 聯系電(diàn)話(huà):0371-56688798 手機:13643860807 登錄  注冊  新聞中(zhōng)心   客戶支持   交費(fèi)方式   聯系我(wǒ)(wǒ)們

開(kāi)啓Dedecms v5.7内容管理系統僞靜态的方法

發布時間:2013-05-27 15:39:41   浏覽人數: 178676 次  
1、開(kāi)啓Dedecms!v5.7内容管理系統僞靜态的方法

  後台--系統--系統基本參數--核心設置--是否使用僞靜态(是/否),然後點擊提交。

  

2、新建一(yī)個.htaccess文本文件,并把以下(xià)内容複制進去(qù),保存後上傳到網站文件夾根目錄下(xià)
 RewriteEngine On
 RewriteCompatibility2 On
 RepeatLimit 200
 RewriteBase 
 # unsupported directive: [ISAPI_Rewrite]
 # DedeCMS

 RewriteRule ^(.*)/index.html $1/index.php [I]

 RewriteRule ^(.*)/category/list-([0-9]+).html $1/plus/list.php?tid=$2 [I]
 RewriteRule ^(.*)/category/list-([0-9]+)-([0-9]+)-([0-9]+).html $1/plus/list.php?tid=$2&TotalResult=$3&PageNo=$4 [I]

 RewriteRule ^(.*)/view-([0-9]+)-([0-9]+).html $1/plus/view.php?arcID=$2&pageno=$3 [I]


 RewriteRule ^(.*)/search.html(?:(?.*))* $1/search.php?$2 [I]
 RewriteRule ^(.*)/tags.html $1/tags.html [I]
 RewriteRule ^(.*)/tags/(.*)(?:(?.*))* $1/tags.html?/$2 [I]
 RewriteRule ^(.*)/tags/(.*)/(?:(?.*))* $1/tags.html?/$2/ [I]
 RewriteRule ^(.*)/tags/(.*)/([0-9])(?:(?.*))* $1/tags.html?/$2/$3 [I]
 RewriteRule ^(.*)/tags/(.*)/([0-9])/(?:(?.*))* $1/tags.html?/$2/$3/ [I]

 RewriteRule ^(.*)/post.html $1/post.php [I]
 RewriteRule ^(.*)/type.html $1/type.php [I]
 RewriteRule ^(.*)/question-([0-9]+).html $1/scontrol-ctrl_supportquestion.phpp.html?id=$2 [I]
 RewriteRule ^(.*)/browser-1-([0-9]+).html $1/browser.php?tid=$2 [I]
 RewriteRule ^(.*)/browser-2-([0-9]+).html $1/browser.php?tid2=$2 [I]
 RewriteRule ^(.*)/browser-1-([0-9]+)-([0-9]+).html $1/browser.php?tid=$2&page=$3 [I]
 RewriteRule ^(.*)/browser-2-([0-9]+)-([0-9]+).html $1/browser.php?tid2=$2&page=$3 [I]
 RewriteRule ^(.*)/browser-([0-9]+).html $1/browser.php?lm=$2 [I]
 RewriteRule ^(.*)/browser-1-([0-9]+)-([0-9]+).html $1/browser.php?tid=$2&lm=$3 [I]
 RewriteRule ^(.*)/browser-2-([0-9]+)-([0-9]+).html $1/browser.php?tid2=$2&lm=$3 [I]




下(xià)一(yī)篇:ASP.NET無法向會話(huà)狀态服務器發出會話(huà)狀态請求
電(diàn)話(huà):0371-56688798  手機:13643860807
QQ12269363 Emailzzqqwl@zzqqwl.com 備案号:豫ICP14014950
廈門悟網科技有限公司 版權所有 本站程序界面、源代碼受相關法律保護,未經授權,嚴禁使用
Copyright © 2004-2020 www.zzqqwl.com. All rights reserved 
以下(xià)js爲測試信息