WooCommerce and WordPress: what turns a crawler away
On a WordPress store, crawler access is decided in more than one place. robots.txt is usually generated by WordPress itself, and the refusals tend to come from somewhere else: a security plugin, a cache, the host or a CDN.
On WordPress, the file that says yes and the thing that says no can sit in five different places.
Where your robots.txt comes from
Unless someone has put a real robots.txt file on the server, WordPress writes one on the fly when a crawler asks for it. The code that does this, do_robots(), builds the text and then lets plugins change it through a filter called robots_txt. That is how SEO plugins add lines, and why the rules you see at /robots.txt may not exist as a file anywhere.
Two things follow:
- To find out what your
robots.txtsays, open/robots.txton your domain. Do not go looking for the file first. - To change it, use the SEO plugin that writes it, or add a real file. On most servers, a real file at the site root is served instead of the generated one.
WordPress also has a search engine visibility setting that asks search engines not to index the site. Since WordPress 5.3, that setting no longer puts Disallow: / in robots.txt; it adds a robots meta tag to pages instead. If a page will not index and robots.txt looks fine, check that setting too.
The stack, from the outside in
A request for a WooCommerce product page can pass through all of these. Each one can refuse a crawler while letting your browser through.
- A CDN or firewall service such as Cloudflare. It can block or challenge by crawler name and address. On Cloudflare, blocking AI training also blocks Googlebot, Applebot and Bingbot; the Cloudflare guide has the setting.
- The host. Managed WordPress hosts can refuse named crawlers at the server, before WordPress runs. These rules may not show in your dashboard. A 403 page in the host’s styling, not your theme’s, is the tell.
- A security plugin. Firewall and bot-protection plugins can rate-limit or block visitors that ask quickly or claim a crawler’s name. Look at the plugin’s blocked-traffic log and its settings for crawlers and rate limits.
- A caching plugin or the host’s cache. A cache can keep serving an old answer, good or bad, after you fix the cause. Clear it after every change, then test with a fresh address such as
/?t=123. - WordPress and WooCommerce themselves. By this point the request has got in. What remains is what the page shows: text that needs JavaScript, missing structured data, a title that says nothing.
Work through it in order
Start at the outside and work in. A refusal at the CDN never reaches your plugin’s log, so an empty plugin log proves nothing.
- If Google Search Console shows “Blocked due to access forbidden (403)”, Google’s request was refused. Google says pages answering 4xx are dropped from its index, so this one is worth a morning.
- Check that the refused visitor really was Googlebot. Google says a real one comes from an address whose reverse DNS name ends in
googlebot.com. A fake Googlebot being blocked is your security working. - Change one layer at a time, clear the cache, and test again.
Check what each crawler gets
Put a browser’s answer next to a crawler name’s answer and the stack gives itself away. 200 OK for the browser and 403 Forbidden for the name means the refusal is somewhere in the stack above, not in robots.txt. That comparison is what our check runs, for ten names, with each crawler’s robots.txt rule beside its answer. We borrow each crawler’s name, not its address, so confirm what you find in the layer’s own log before you change a rule.
Your site loads fine. Why would a crawler be turned away? has a short note you can forward to whoever manages the site.
Findings this guide helps fix
If your ClearReadout report shows one of these, its page explains it in the report’s own words and ends with a note for whoever makes the change:
- A crawler was turned away while a browser got the page
- A crawler gets a challenge screen instead of the page
- Cannot tell: when a crawler result is not clear
- robots.txt tells search engines to stay out of this page
- We found no sitemap, and robots.txt does not name one
- This page tells search engines not to list it
- We found little readable text on this page
- No structured data on this page