WordPress本地安装设置永久链接页面无法访问

用XAMMP在本地安装调试WordPress设置永久链接Permalink时,提示:

Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404 localhost

04/28/08 08:25:25

Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5

如图:

WordPress本地安装Object not found

出现这种情况是因为XAMPP默认没开启rewrite,只要找到D:\xampp\apache\conf文件夹下的httpd.conf(我的xampp安装在D盘),用记事本打开,找到“#LoadModule rewrite_module modules/mod_rewrite.so”这一行,去掉前面“#”,然后重启Apache就OK了。

Posted in WordPress. Tags:.

1 Comment

  • At 2008.05.03 09:58, 可岛可薇 said:

    呃。。我的虚拟主机都不支持rewrite,比较郁闷

    (Required)
    (Required, will not be published)