wordpress如何實(shí)現(xiàn)偽靜態(tài)一.我司windows和linux主機(jī)都支持wordpress偽靜態(tài)。linux主機(jī)較簡(jiǎn)單,安裝好程序到后臺(tái)設(shè)置》固定鏈接》直接進(jìn)行設(shè)置就可支持。 強(qiáng)烈建議使用wordpress的客戶使用Linux虛擬主機(jī)。inux系統(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.ps-sw.cn/faq/list.asp?unid=625
|
|||||
| >> 相關(guān)文章 | |||||
|
|
|||||
400-028-5800
028-62778877
您好,非正常上班時(shí)間若有緊急技術(shù)問題,請(qǐng)撥總機(jī)后按7號(hào)鍵, 其他問題請(qǐng)?zhí)峤还位蛟谏习鄷r(shí)間聯(lián)系,謝謝支持!