wordpress如何實(shí)現(xiàn)偽靜態(tài)一.我司windows和linux主機(jī)都支持wordpress偽靜態(tài)。linux主機(jī)較簡單,安裝好程序到后臺設(shè)置》固定鏈接》直接進(jìn)行設(shè)置就可支持。 強(qiáng)烈建議使用wordpress的客戶使用Linux虛擬主機(jī)!!linux系統(tǒng)規(guī)則: <ifModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> 以上規(guī)則保存上傳到網(wǎng)站根目錄,并重新命名 .htaccess
1.新建一個(gè)"chineseurl.php"文件并上傳至wordpress的安裝目錄: // IIS Mod-Rewrite // Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice) // Append the query string if it exists and isn't null require("index.php"); ?> 2.在控制面板-isapi篩選器-打開自定義偽靜態(tài)支持 2008系統(tǒng)參考http://www.35.com/faq/list.asp?unid=625
|
|||||
| >> 相關(guān)文章 | |||||
關(guān)注我們
關(guān)注我們
最新動態(tài)
新浪微博
交流互動
關(guān)于我們
|
聯(lián)系我們
|
付款方式
|
人才招聘
|
友情鏈接
|
域名資訊
|
提交工單
|
我要評價(jià)
|
投訴建議
|
域名投訴
|
網(wǎng)站備案
|
百科知識
|
手機(jī)站
《中華人民共和國增值電信業(yè)務(wù)經(jīng)營許可證》編號:B1-20172600 川B1-20080058 蜀ICP備12028237號
《中華人民共和國互聯(lián)網(wǎng)域名服務(wù)許可證》編號:川 D3-20220002
電話總機(jī):028-62778877(20線) 400電話:400-135-3511
