Home / Questions / Why is my robots.txt blocking Google from my WordPress site?
Why is my robots.txt blocking Google from my WordPress site?
A robots.txt file with Disallow: / blocks Google from the whole site. A setting, a plugin or an old file can add that rule, so check the live file first.
Robots.txt tells crawlers which paths to skip. One line that says Disallow: / stops Google from crawling every page, and the pages slowly drop out of search.
Check the file
- Open
yoursite.com/robots.txtin a browser and read the rules. - Remove any rule that blocks your main folders or the whole site.
- Check the WordPress setting under Settings > Reading. The option “Discourage search engines” adds a block too, so turn it off.
After the change, use the robots.txt tester in Google Search Console, then request indexing for the main pages.
If you are not sure which file is serving the rules, contact us and we will check.
Ready to act on this?
Get a written review of your site, or send us your question and we will reply within 24 hours.
Related services
Related questions
Not sure where your site stands?
Send us the details and we will reply within 24 hours with a clear next step.