Mobile app version of vmapp.org
Login or Join
Gonzalez347

: Why wouldn't a website apear in Google search results after robots.txt update to clean up hacked site? I have a WordPress website which was hacked couple of days ago. I have tried to add

@Gonzalez347

Posted in: #RobotsTxt #Seo #WebCrawlers #Wordpress

I have a WordPress website which was hacked couple of days ago. I have tried to add up some security. By following couple of tutorials, I have updated my robots.txt file. But now my website is not appearing in Google at all, not even single link of website.

Here is my current robots.txt file.

#
User-agent: *
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-includes
Disallow: /wp-content/plugins/
Disallow: /wp-content/cache/
Disallow: /wp-content/themes/
Disallow: */trackback/
Disallow: */feed/
Disallow: /*/feed/rss/$
Disallow: /category/*


All the links of my website were showing in the Google search, but now not even single link of website.

Before: when I typed site:example.com it was appearing. But after the robots.txt update, it is not appearing when I type site:example.com

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Gonzalez347

1 Comments

Sorted by latest first Latest Oldest Best

 

@Barnes591

When you say it's not appearing in Google, did you mean in a search result or it's not indexed by Google.

Regardless, the following should help you troubleshoot.

Google Crawl Status:

Type site:example.com in Google and see if pages are indexed by Google. If yes move to next steps.

Google Webmaster Tools:


Check if there is warning from Google about infection/hack.
Robots.txt: Use fetch as Google in Webmaster and see if Google can read your pages.
If all good with Fetch as Google is all good then, make sure your site is clean and you may request Google to check.


This should help you investigate this.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme