Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/13.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 404错误,但页面加载正常?_Wordpress - Fatal编程技术网

Wordpress 404错误,但页面加载正常?

Wordpress 404错误,但页面加载正常?,wordpress,Wordpress,我试图在测试我的移动站点(wordpress),但它告诉我有一个404错误。该页面在我尝试过的所有内容上都能很好地加载,其他网站在GTMetrix中也能很好地运行。我不知道该怎么做来解决这个错误 htaccess的副本: # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow f

我试图在测试我的移动站点(wordpress),但它告诉我有一个404错误。该页面在我尝试过的所有内容上都能很好地加载,其他网站在GTMetrix中也能很好地运行。我不知道该怎么做来解决这个错误

htaccess的副本:

# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName textandmobilemarketing.mobi
AuthUserFile /home/textand2/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/textand2/public_html/_vti_pvt/service.grp

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
#-FrontPage-
IndexIgnore.htaccess*/.??**~*#*/HEADER**/README**/\u vti*
命令拒绝,允许
全盘否定
通融
命令拒绝,允许
全盘否定
AuthName textandmobilemarketing.mobi
AuthUserFile/home/textand2/public_html/_vti_pvt/service.pwd
AuthGroupFile/home/textand2/public_html/_vti_pvt/service.grp
#开始WordPress
重新启动发动机
重写基/
重写规则^index\.php$-[L]
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则/index.php[L]
#结束WordPress
感谢您的帮助


安装了WP DBManager插件,“修复了数据库”,一切恢复正常:)

页面“加载不正常”。该测试站点是正确的,这些页面确实报告自己为404。通过浏览器它看起来不错,因为浏览器不会告诉你404就是404。不过,搜索引擎不会为它们编制索引。在执行此操作时,服务器上运行的某些内容被设置为不正确的,但我不能从这里的信息和“从外部”看,说得比“服务器上运行的某些内容”更具体。谢谢Jon的回复,但是我如何确定问题是什么?