前端集合 - 关注前端技术和互联网免费资源

关注前端技术和互联网免费资源

分类儿

页面儿

搜索儿

前端集合 RSS订阅
Home » 经验记录 » 如何解决wordpress本地测试Object not found的问题

如何解决wordpress本地测试Object not found的问题

发布者:前端集合 // 发布时间:2011-12-10 16:43:09 // 分类:经验记录 // 访问: 5,968 次 // 热度:

image

1. 问题描述

最近在帮一个企业做网站, 决定使用wordpress搭建.

在公司用phpnow进行本地测试的时候很正常, 回家以后用appserver进行本地测试的时候, 却除了问题:

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 pageabout the error.

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

Error 404

127.0.0.1
12/10/11 15:18:08
Apache/2.2.9 (APMServ) mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/5.2.6

经过一番研究, 发现这种情况只出现在使用固定链接的时候, 如果使用wordpress的默认链接就没有上述问题.

2. 如何解决问题

a. 找到并打开Apache\conf\httpd.conf;

b. 搜索AllowOverride None,把它们全部替换成AllowOverride All;

c. 然后保存, 并把Apache重新启动一下以让其生效。

通过上面一番操作, 问题解决了...微笑

Tags: Wordpress, wordpress本地测试, Object not found

如何解决wordpress is_home()不起作用的问题>>  << 如何解决诺基亚6120ci复制联系人到sim卡就重启的问题?
Top