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!伟大的工程!