How to let ChatGPT and other AI tools read your WordPress site
WordPress sites usually block AI tools in one of three places: the "Discourage search engines" box under Settings, Reading; robots.txt rules added by an SEO or "block AI" plugin; or a security plugin or firewall that turns bots away. Untick the box, edit robots.txt in Yoast (Yoast SEO, Tools, File editor) or Rank Math (Rank Math, General Settings, Edit robots.txt), and allow the AI tools in your security settings. Then run the free AI Visibility Check to confirm.
Step 1: make sure the site isn't hidden
In your WordPress dashboard open Settings, Reading. Under "Search engine visibility", the box "Discourage search engines from indexing this site" must be unticked. Developers often tick it while building a site and forget it. It hides every page from Google, Bing and the AI tools that rely on them.
Step 2: look at your robots.txt
Open yourwebsite.com/robots.txt in a browser. WordPress makes this file automatically unless a real file sits in your site's top folder. Look for Disallow: / under User-agent: *, or under AI bot names such as GPTBot, OAI-SearchBot, ChatGPT-User, PerplexityBot or ClaudeBot.
A trap worth knowing: a bot that has its own section in robots.txt ignores the general User-agent: * section. So Allow: / for everyone does not help if a plugin also added a separate User-agent: GPTBot section with Disallow: /.
Step 3: edit it
- Yoast SEO: Yoast SEO, Tools, File editor. If there is no robots.txt yet, Yoast offers to create one.
- Rank Math: Rank Math, General Settings, Edit robots.txt. Rank Math says to delete any real robots.txt file from the top folder first, or its editor can't take over.
- No SEO plugin: upload a file called
robots.txtto the folder that holdswp-config.php, using your host's File Manager.
A safe file for a business that wants to be found:
User-agent: * Allow: / Sitemap: https://yourwebsite.com/wp-sitemap.xml
Use your real sitemap address. WordPress's own is /wp-sitemap.xml. With Yoast or Rank Math it is usually /sitemap_index.xml.
Step 4: check for "block AI" plugins
Some plugins add rules that block dozens of AI bots at once. If you want customers to find you through ChatGPT or Perplexity, switch the block off for the answer bots (OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, PerplexityBot). You can still block training bots if you prefer. Run only one robots.txt plugin at a time, because two plugins fight over the same file.
Step 5: security plugins, hosting and Cloudflare
Security plugins and some hosts block bots they don't recognise, and Cloudflare blocks AI crawlers by default on many new sites. If the check shows a bot allowed by robots.txt but shut at the firewall, that's where to look. See Is Cloudflare blocking ChatGPT?
Step 6: make sure there is text to read
Page builders such as Elementor normally send real text that bots can read. Sliders, tabs and pop-ups that load text with JavaScript may not. The check shows exactly what a bot reads on your page. If important words are missing there, put them in a normal text block.
Questions people ask
Does WordPress block ChatGPT by default?
No. A fresh WordPress site lets all bots in. Blocks come from the Discourage search engines box, plugins, hosting or a firewall.
I changed robots.txt but the check still shows the old rules. Why?
Usually a cache. Clear your caching plugin and any CDN cache. Also check that a real robots.txt file in the top folder isn't overriding your plugin's editor.
Should I install a plugin to allow AI bots?
No. Bots are allowed unless something blocks them. Remove the block rather than adding another plugin.
Will allowing AI bots slow my WordPress site?
Not noticeably for a normal business site. Answer bots fetch a few pages when someone asks about you.