Platform Guide · Updated 2026-12-01
How to Allow OAI-AdsBot on WordPress for ChatGPT Ads
Unblock OpenAI’s ad review crawler across WordPress reading settings, Yoast/Rank Math robots.txt, Wordfence/Sucuri firewalls, and host WAFs.
Where WordPress sites block OAI-AdsBot
WordPress landing pages rarely fail because of WordPress core itself—they fail because of stacked layers: a “discourage search engines” checkbox left on after launch, a virtual or physical robots.txt managed by an SEO plugin, a security plugin firewall (Wordfence, Solid Security, Sucuri), or a managed host’s edge WAF (SiteGround, WP Engine, Kinsta, Cloudflare).
Step 1: Check Settings → Reading (“Search engine visibility”)
In wp-admin, go to Settings → Reading and make sure “Discourage search engines from indexing this site” is unchecked. When checked, WordPress generates Disallow: / in its virtual robots.txt and adds noindex meta tags site-wide.
Step 2: Allow OAI-AdsBot in robots.txt (Yoast / Rank Math / physical file)
Open https://yourdomain.com/robots.txt first to see what is actually served. Remember: a physical robots.txt file in your web root overrides WordPress’s virtual robots.txt.
Edit it in Yoast SEO (Tools → File editor), Rank Math (General Settings → Edit robots.txt), or directly via SFTP, and add:
User-agent: OAI-AdsBot
Allow: /
User-agent: OAI-SearchBot
Allow: /
# Optional: keep GPTBot blocked if you opt out of model training
User-agent: GPTBot
Disallow: /
Also remove any blanket Disallow: /?* rule that could block ad URLs with ?utm_source=openai parameters.
Step 3: Check security plugins (Wordfence, Solid Security, All-In-One Security)
Security plugins frequently block unfamiliar crawlers or rate-limit requests that include query parameters:
- Wordfence: check Tools → Live Traffic and filter by OAI-AdsBot or 403/503 responses. Under Firewall → All Firewall Options → Rate Limiting, ensure crawlers are not immediately blocked on low thresholds, and avoid custom User-Agent blocklists matching “Bot” or “OpenAI”.
- Sucuri / Cloudflare / Host WAF (WP Engine, Kinsta, SiteGround): check your hosting panel’s WAF or Anti-Bot logs. Some hosts enable “Block AI bots” toggles or automated JS challenges by default—allowlist OAI-AdsBot and OpenAI’s published IP ranges (https://openai.com/adsbot.json).
- Caching & maintenance plugins: make sure coming-soon / under-construction mode is off and page caching serves normal HTML for requests with utm_* query parameters.
Step 4: Check server-level .htaccess / Nginx blocks
Older WordPress boilerplates sometimes include .htaccess or Nginx snippets blocking User-Agents containing generic tokens or denying requests with query strings. Search your .htaccess and Nginx config for RewriteCond %{HTTP_USER_AGENT} or 403 rules matching “bot” or “OpenAI”, then verify with the checker below.
Verify your WordPress landing page now
Test whether OAI-AdsBot gets HTTP 200, passes robots.txt (including ?utm_source=openai), and sees real static HTML. No scripts executed and no Pixel events fired.