Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
WordPress没有';在PHP AppEngine中捕获404s_Php_Wordpress_Google App Engine_Http Status Code 404 - Fatal编程技术网

WordPress没有';在PHP AppEngine中捕获404s

WordPress没有';在PHP AppEngine中捕获404s,php,wordpress,google-app-engine,http-status-code-404,Php,Wordpress,Google App Engine,Http Status Code 404,之后,安装WordPress 3.5.2成功,但安装未处理404错误。所有不存在的页面都显示在主页上 例如,http://localhost:8080/not-找到-1/,http://localhost:8080/not-发现-2/等。显示相同的内容http://localhost:8080/显示 如何解决此问题?此解决方案在本地安装上有效。我将在GAE服务器上部署时更新 打开Wordpress安装,即http://localhost:8080 转到仪表板>设置>永久链接或http://loc

之后,安装WordPress 3.5.2成功,但安装未处理404错误。所有不存在的页面都显示在主页上

例如,
http://localhost:8080/not-找到-1/
http://localhost:8080/not-发现-2/
等。显示相同的内容
http://localhost:8080/
显示


如何解决此问题?

此解决方案在本地安装上有效。我将在GAE服务器上部署时更新

  • 打开Wordpress安装,即
    http://localhost:8080

  • 转到仪表板>设置>永久链接
    http://localhost:8080/wp-admin/options permalink.php

  • 在“常用设置”下,选择除“默认设置”之外的任何内容,或在“自定义结构”中添加自己的结构