问题原文
原帖链接 · neptune · CC BY-SA 3.0
There is a few years old small website with very few pages (~5), which were indexed and ranked by Google. A few days ago 4 of those pages disappeared from SERPs and Search Console gives me 404 Not Found errors despite the fact that the pages are up and running. I didn't do any changes in header's crawler related meta tags and robot.txt neither.
Tried to submit a sitemap.xml but it gives me 404 error for that too.
What causes this problem?
已采纳解答
原帖链接 · DocRoot · CC BY-SA 3.0
If Google is reporting these pages as a 404 (and this has been confirmed with the "Fetch as Google" tool in Google Search Console), yet they appear to be perfectly accessible and return a 200 OK when visiting the site then check your .htaccess file for any suspicious code that might be redirecting the Googlebot.
If a hacker is able to inject code into .htaccess then they can very quickly destroy a sites ranking. Unfortunately, if they've been able to edit .htaccess then this might not be the only thing they have done.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
