我正在运行WordPress的本地安装。一切都有效,除了管理部分。每当我尝试保存时(例如,在“设置”页面中),我都会收到此错误:
Not Found
The requested URL /wp-admin/options-general.php was not found on this server.
我已将options-general.php的权限设置为755(也尝试过775)并更新了我的httpd.conf文件,将AllowOverride None
的所有实例更改为AllowOverride All
,但我仍然无法保存管理部分中的任何内容。
另一个奇怪的观察是我的设置网址是:
http://localhost/wordpress/wp-admin/options-general.php
...但是当我点击保存它会删除/ wordpress并带我去:
http://localhost/wp-admin/options-general.php?settings-updated=true
此外,我的WordPress Address (URL)
和Site Address (URL)
设置均设为http://localhost/wordpress
。
如果还有什么我可以试试的话我会非常感激。
P.S。我去了WordPress StackExchange网站,但他们说要在这里发布Apache错误。