Wordpress and Xampp not open child pages

倾然丶 夕夏残阳落幕 提交于 2019-11-28 06:08:10

问题


I'm working with wordpress + xampp but I can not see the child pages.

Appears:

Object not found!

The requested URL was not found on this server. The link on that page seems to be in an error or out of date. Please inform the author of that page about the error.

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

error 404

localhost Apache / 2.4.12 (Win32) OpenSSL / 1.0.1l PHP / 5.6.8


回答1:


By default, Xampp has FollowSymlinks disabled. See point 4 on how to

  • enable mod rewrite (if not done already)
  • set AllowOverride from none to all

https://codex.wordpress.org/Using_Permalinks#Fixing_Permalink_Problems

If AllowOverride is not set to all, permalinks will cause exactly these 404 errors you describe ("Not found" on existing pages).




回答2:


For others that might come across this issue but already have mod_rewrite enabled as I did, try creating .htaccess and making it writable.



来源:https://stackoverflow.com/questions/30894827/wordpress-and-xampp-not-open-child-pages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!