TL;DR: Blocking all AI crawlers to “protect your content” makes your business invisible in ChatGPT, Perplexity and AI search answers, the places your customers increasingly ask for recommendations. The smarter setup: allow the search bots that put you in live answers, and only (optionally) block the training bots. Copy-paste configuration below.
Why do so many websites block AI crawlers by accident?
Because security plugins and “protect your content from AI” tutorials made it a one-click default. Sometime in the last two years, a plugin update or a well-meaning developer added rules to thousands of Pakistani websites’ robots.txt files banning anything with “GPT” or “Bot” in its name. The intention was protecting content from being scraped. The actual effect, for a local business, is hanging a CLOSED sign specifically for the systems your customers now consult before buying.
Check yourself right now: visit yoursite.com/robots.txt and look for AI crawler names above “Disallow: /” lines.
The distinction that changes everything: search bots vs training bots
Not all AI crawlers do the same job, and treating them identically is the core mistake.
Search bots fetch your pages to answer live questions. When someone asks ChatGPT “best dental clinic in Islamabad,” bots like OAI-SearchBot, ChatGPT-User, PerplexityBot and Claude-SearchBot retrieve current web pages to build the answer. Block these and you exit AI search entirely, no citation, no recommendation, no existence.
Training bots collect data to teach future models. GPTBot, Google-Extended and ClaudeBot gather content for model training. Blocking these keeps your content out of future training datasets while leaving your live-answer visibility intact.
For a business whose entire goal is being found, our recommendation is simple: allow everything. If you publish genuinely proprietary content and want a middle path, block training only.
The copy-paste configurations
Option A, maximum visibility (our recommendation for local businesses):
txt
User-agent: *
Allow: /
Sitemap: https://yoursite.com/sitemap.xml
Option B, visible in answers, opted out of training:
txt
User-agent: GPTBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: OAI-SearchBot
Allow: /
User-agent: ChatGPT-User
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: *
Allow: /
Sitemap: https://yoursite.com/sitemap.xml
On WordPress: robots.txt is usually generated by your SEO or security plugin, not a physical file, so edit it in the plugin’s settings (look for “robots.txt editor”), or your changes will be overwritten. After saving, re-check yoursite.com/robots.txt to confirm what’s actually being served.
One more trap: robots.txt isn’t the only blocker. Cloudflare’s “Block AI bots” toggle and aggressive security-plugin firewalls can reject these crawlers even with a perfect robots.txt. If you use Cloudflare, check its security settings too.
Doesn’t blocking AI protect my content?
Honestly: barely, and at enormous cost. Your public website is already, by definition, public competitors and scrapers who ignore polite rules can read it regardless, because robots.txt is a request, not a lock. What blocking reliably accomplishes is excluding you from the compliant, mainstream AI systems that respect the rules, which happen to be exactly the ones your customers use. For a local business, the trade is all downside: you keep nothing meaningful private and lose the fastest-growing recommendation channel that exists.
The businesses winning AI visibility in Pakistan right now aren’t the ones hiding from the machines. They’re the ones making themselves easiest to read which is a whole checklist beyond crawlers: [see the 7 reasons businesses stay invisible on ChatGPT] for the complete diagnostic.
Frequently Asked Questions
Should I block GPTBot?
Only if you specifically want your content excluded from future AI training and accept that trade. Never block OAI-SearchBot or ChatGPT-User those power live ChatGPT answers, and blocking them removes your business from AI search.
Does robots.txt actually stop AI companies?
Major AI companies publicly respect robots.txt directives for their named crawlers. It won’t stop bad actors it’s a convention, not a lock which is precisely why blocking mainly costs you the compliant systems your customers actually use.
How do I check what’s blocked on my site?
Visit yoursite.com/robots.txt in any browser and read the User-agent blocks. On WordPress, cross-check your SEO and security plugin settings, and if you use Cloudflare, its bot-blocking toggles as well.
Two-minute check, free full audit
This is a two-minute self-check with an outsized payoff and it’s one of a dozen visibility factors. DigiMSM, Pakistan’s 1st AI-powered digital marketing agency, verifies all of them free in an AI Visibility Audit: WhatsApp +92 335 4155677 or digimsm.com/contact-us/.
Published by the DigiMSM editorial team, Islamabad. Last updated July 2026.