Platform Guide · WordPress & WooCommerce

GEO for WordPress

Make your WordPress site or WooCommerce store visible to AI search engines. Drop llms.txt next to wp-config.php, open robots.txt in Yoast or Rank Math, and ship clean JSON-LD via WPCode.

Audit Your WordPress Site Now

Enter your WordPress or WooCommerce domain to check AI crawlability, llms.txt, schema, and E-E-A-T signals:

See a sample report — n8n.io scored 66/100 (Basic), 8/11 dimensions above 60%.

1. Place llms.txt in the WordPress Root (wp-config.php Level)

You do not need a heavy plugin to serve /llms.txt. Upload a plain UTF-8 llms.txt file via SFTP, SSH, or your host's File Manager into the document root alongside wp-config.php.

# Your WordPress Site

> Concise summary of your site, core guides, or WooCommerce product catalog.

## Core Pages
- [About](https://yourwpsite.com/about/): Company background and editorial standards
- [Shop](https://yourwpsite.com/shop/): Full product catalog
- [Guides](https://yourwpsite.com/blog/): In-depth tutorials and buying guides

2. Configure AI Crawlers in Yoast SEO / Rank Math robots.txt

WordPress serves a virtual robots.txt unless a physical file exists. Edit it cleanly using your SEO plugin:

  • ✓Yoast SEO: Go to Yoast SEO > Tools > File editor.
  • ✓Rank Math: Go to Rank Math > General Settings > Edit robots.txt.
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

User-agent: GPTBot
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Google-Extended
Allow: /

Sitemap: https://yourwpsite.com/sitemap_index.xml

3. Inject JSON-LD via WPCode & Complete WooCommerce Product Schema

Use WPCode (Code Snippets > Header & Footer) to output Organization and Person JSON-LD safely across theme updates. If you run WooCommerce, verify every product page exposes Product schema with offers (price, currency, availability) plus sku or gtin.

Need Done-for-You WordPress or WooCommerce Fixes?

Order the $49 AI Visibility Fix Pack — drop-in llms.txt, robots.txt diagnosis, validated Product JSON-LD for your flagship product, and a post-deploy re-audit within 48 hours.

WordPress GEO FAQ

Where do I upload llms.txt on a WordPress website?

Upload llms.txt directly to your WordPress document root — the same folder that contains wp-config.php — using SFTP, SSH, or your hosting File Manager. That ensures https://yourdomain.com/llms.txt returns HTTP 200 plain text without needing a plugin.

How do I edit robots.txt for AI crawlers in Yoast SEO or Rank Math?

In Yoast SEO, go to Tools > File editor to edit robots.txt. In Rank Math, open General Settings > Edit robots.txt. Add explicit Allow rules for GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, and Google-Extended, and check that security plugins like Wordfence or Cloudflare WAF are not blocking those user agents.

How do I add custom JSON-LD and WooCommerce Product schema safely?

Use the WPCode plugin (Code Snippets > Header & Footer) to inject clean Organization or FAQPage JSON-LD without editing theme files directly. For WooCommerce stores, audit your product pages to confirm WooCommerce emits Product schema with offers, price, currency, availability, and sku/gtin fields.

Why do WordPress sites sometimes fail AI crawler audits even with SEO plugins installed?

Common culprits include security plugins, aggressive caching rules, or CDN Bot Fight Mode blocking AI crawlers with 403 responses, plus missing llms.txt and incomplete WooCommerce product identifiers. Running an audit catches these gaps immediately.