wordpress伪静态后,分页404页面
wordpress伪静态后,打开分页,可能会出现分页不存在的提示。
处理方法:
版本2.8到3.0的程序修改wp-setting.php文件
3.1以后版本 修改文件 wp-includes\load.php
把上面
if ( empty( $_SERVER['REQUEST_URI'] ) || ( php_sapi_name() != 'cgi-fcgi' && preg_match( '/^Microsoft-IIS\//', $_SERVER['SERVER_SOFTWARE'] ) ) )
改成if ( empty( $_SERVER['REQUEST_URI'] ) )就对了
处理方法:
版本2.8到3.0的程序修改wp-setting.php文件
3.1以后版本 修改文件 wp-includes\load.php
把上面
if ( empty( $_SERVER['REQUEST_URI'] ) || ( php_sapi_name() != 'cgi-fcgi' && preg_match( '/^Microsoft-IIS\//', $_SERVER['SERVER_SOFTWARE'] ) ) )
改成if ( empty( $_SERVER['REQUEST_URI'] ) )就对了
相关问题
下载此文章 (欢迎转载,请注明出处:http://www.xmxwl.net/help/host/20130526/13079.html)