WordPress Permalinks Does Not Work in xampp Setup在WordPress永久不工作, xampp安裝
xampp provides a convenient way to quickly and easily install and setup a web server that works without much configuration. xampp提供了一個便捷的途徑,以快速,輕鬆地安裝和設置一個Web伺服器工程沒有太多的配置。 However, permalinks feature won’t work with the default installation of xampp, even though you can properly customize the permalinks structure to create the .htaccess file.然而,永久性功能將無法工作的默認安裝xampp ,即使您可以自訂適當的永久性結構,以創造。 htaccess的文件。
When you click on any permalinks, your WordPress blog will return a 404 error instead, saying the post not found.當你點擊任何永久性,您的WordPress所博客就會返回一個404錯誤,而是說後沒有發現。 Instead, you can only access your blog posts via default permalinks structure, which is in the form of http://www.mydigitallife.info/?p=123.反之,你只可以訪問您的博客帖子通過預設的永久性結構,這是在形式http://www.mydigitallife.info/?p=123 。
This is because in xampp, mod_rewrite is not enable by default.這是因為在xampp , mod_rewrite是無法使默認情況下。 Beside, AllowOverride directive in Apache configuration file is also set to None by default, causing Apache web server to ignore any .htaccess file, which used to rewrite the permalinks to the post’s actual url.旁邊, allowoverride指令在Apache配置文件也設定為無默認情況下,造成Apache Web服務器不理會任何。 htaccess的文件,該文件用來重寫永久性該職位的實際網址。
To use permalinks in WordPress that installed on xampp-based server, edit the httpd.conf that locates in C:\Program Files\xampp\apache\conf directory (folder).使用永久性在WordPress安裝就xampp為基礎的伺服器,編輯httpd.conf中指出,坐落在C : \程序文件\ xampp \阿帕奇\設置目錄(文件夾) 。 Open httpd.conf in any text editor, search for “mod_rewrite”.開放的httpd.conf在任何文本編輯器,搜索“ mod_rewrite ” 。 You should come to a line like this:你應該來一條線是這樣的:
#LoadModule rewrite_module modules/mod_rewrite.so # loadmodule rewrite_module模塊/ mod_rewrite.so
Remove the hash sign (#) from the line.刪除散列符號( # )從線。 The # indicates the line is not in effect. #表明,該行不會在的效果。 The changed line should looks like this:改變路線,應該看起來像這樣:
LoadModule rewrite_module modules/mod_rewrite.so loadmodule rewrite_module模塊/ mod_rewrite.so
After that, search for “AllowOverride”.之後,搜索“ allowoverride ” 。 You will come to a line like this:你會來一條線是這樣的:
AllowOverride None allowoverride無
If the above line is contained within default directory (mean the directory declaration is just如果上述路線是包含在默認目錄(指目錄宣言只是
AllowOverride All allowoverride所有
Restart the Apache.重新啟動Apache的。 Permalinks is working after restart.是永久性的工作後重新啟動。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要說明 :這是一個機器翻譯網頁是“按原樣”提供的擔保。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article英文原版的文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和貢獻,或取得技術的支持和幫助,在 My Digital Life Forums 我的數字生活論壇 . 。
Related Articles相關文章
- Easily Set Up Web Server with XAMPP很容易成立的Web伺服器與xampp
- Enable MySQL InnoDB Storage Engine Support in XAMPP Installation使MySQL的InnoDB存儲引擎支持在xampp安裝
- Download WordPress 2.3 Release Candidate 1 (RC1) with Tags Support下載的WordPress 2.3候選版本1 ( RC1的)與標籤支持
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working paginating或分裂的WordPress郵寄或網頁下一頁在WordPress沒有工作
- Download Previous or Old Version of WordPress下載前或舊版本的WordPress
- Tag Managing Thing Plugin for WordPress 2.3 or Above標記管理的事插件的WordPress 2.3或以上
- Integrate WordPress including Comments with bbPress Forum using bbSync整合WordPress所包括的評論與bbpress論壇使用bbsync
- How to Move WordPress Blog to New Domain or Location如何移動的WordPress所博客新的網域或位置
- WordPress 2.1.1 Critical Security Alert - Download Upgrade to 2.1.2在WordPress 2.1.1關鍵的安全警戒-下載升級到2 .1.2
- Must Have WordPress Plugins必須有wordpress插件



















August 15th, 2008 04:59 2008年8月15日4時59分
Thanks A LOT!感謝了很多! Works great!偉大的工程!