问题
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.
Open the Wordpress Installation ie.
http://localhost:8080.Go to Dashboard > Settings > Permalinks or
http://localhost:8080/wp-admin/options-permalink.php.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