WordPress doesn't catch 404s in PHP AppEngine

只谈情不闲聊 提交于 2019-12-13 08:57:53

问题


Following the official tutorial, Installing WordPress 3.5.2 was successful but the installation is not handling 404 errors. All the non-existing pages show up the homepage.

Eg. http://localhost:8080/not-found-1/, http://localhost:8080/not-found-2/, etc. show the same thing what http://localhost:8080/ shows.

How do we fix this?


回答1:


This solution worked on local installation. I will update when I deploy on GAE Servers.

  1. Open the Wordpress Installation ie. http://localhost:8080.

  2. Go to Dashboard > Settings > Permalinks or http://localhost:8080/wp-admin/options-permalink.php.

  3. Under Common Settings, select anything except Default or add your own structure in Custom Structure.



来源:https://stackoverflow.com/questions/17472917/wordpress-doesnt-catch-404s-in-php-appengine

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