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如果上述路線是包含在默認目錄(指目錄宣言只是 ), then it can be left as it is. ) ,然後可以離開,因為這是。 Continue searching and you would come to a second instance of AllowOverride which is contained inside your web server’s document root (default for xampp is繼續搜索和你會來的第二個實例allowoverride這是內載您的Web服務器的文檔根目錄(默認為是xampp in Windows).在Windows ) 。 Change the None to All to make the line looks like this:改變沒有給所有方面,以使線看起來像這樣:

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 我的數字生活論壇 .



26 Responses to “WordPress Permalinks Does Not Work in xampp Setup” 26日的反應“的WordPress永久不工作, xampp安裝程序”

Pages: [2]頁數: [ 2 ] 1 » Show All顯示所有

  1. Arhtur arhtur
    August 15th, 2008 04:59 2008年8月15日4時59分
    26

    Thanks A LOT!感謝了很多! Works great!偉大的工程!

Pages: [2]頁數: [ 2 ] 1 » Show All顯示所有

Leave a Reply離開的答复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用這些標籤:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <刪除日期時間= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting訂閱無評論


Custom Search

New Articles新的條款,

Incoming Search Terms for the Article傳入的搜索條件文章

xampp mod_rewrite xampp mod_rewrite - - xampp htaccess htaccess的xampp - - mod_rewrite xampp mod_rewrite xampp - - xampp .htaccess xampp 。 htaccess的 - - wordpress permalinks not working 在WordPress永久不工作 - - enable mod_rewrite XAMPP 使mod_rewrite xampp - - xampp permalinks xampp永久性 - - xampp AllowOverride xampp allowoverride - - xampp wordpress permalink xampp的WordPress的永久 - - xampp wordpress permalinks xampp的WordPress永久 - - xampp enable htaccess xampp使htaccess的 - - Permalinks not working 永久不工作 - - xampp apache mod_rewrite xampp的Apache mod_rewrite - - wordpress xampp permalinks 在WordPress xampp永久性 - - how to enable mod_rewrite in xampp 如何使mod_rewrite在xampp - - htaccess xampp htaccess的xampp - - wordpress permalink not working 在WordPress永久不工作 - - wordpress permalinks apache 在WordPress的永久阿帕奇 - - permalinks in xampp 永久在xampp - - permalinks xampp 永久xampp - - wordpress permalink does not work 在WordPress永久不工作 - - wamp wordpress permalinks wamp的WordPress永久 - - wordpress permalinks 在WordPress永久 - - xampp enable mod_rewrite xampp使mod_rewrite - - will email work with xampp 將電子郵件的工作與xampp - - wordpress permalink problem was not found on this server. 在WordPress的永久問題並不在此服務器上找到。 - - setting .htaccess in xampp 設置。 htaccess的在xampp - - apache rewrite xampp 阿帕奇重寫xampp - - wordpress xampp 在WordPress xampp - - enable mod_rewrite in xampp 使mod_rewrite在xampp - - permalinks do not work wordpress 永久不工作的WordPress - - permalink wordpress xampp 永久的WordPress xampp - - wordpress + .htaccess + permalinks + "page not found" 在WordPress + 。 htaccess的+永久+ “找不到網頁” - - xampp htaccess httpd.conf xampp htaccess的httpd.conf文件 - - wordpress permalink page not found 在WordPress的永久未找到網頁 - - xampp and .htaccess xampp和。 htaccess的 - - XAMPP + htaccess xampp + htaccess的 - - mod rewrite xampp wordpress 按付款當日價格計算重寫xampp的WordPress - - xampp htaccess enable xampp htaccess的啟用 - - xampp wordpress permalink not working xampp的WordPress永久不工作 - - wordpress permalinks xampp 在WordPress的永久xampp - - xampp authentic windows login xampp真確的Windows登錄 - - wordpress permalinks not found 在WordPress的永久未找到 - - xamp mod_rewrite xamp mod_rewrite - - xampp wordpress 2008 xampp的WordPress 2008年 - - xamp permalinks xamp永久性 - - wordpress permalinks "not found" 在WordPress的永久“找不到” - - move wordpress to xampp 動議的WordPress ,以xampp - - XAMPP SETUP .HTACCESS xampp安裝。 htaccess的 - - wordpress permalinks dont work 在WordPress的永久不用工作 - -