PolyXGO Architecture, Performance and SEO Strategy Playbooks

Schema JSON-LD @graph, robots.txt & /llms.txt Guide

Disconnected JSON-LD snippets, accidental crawler blocks, and unstructured site navigation hide your products and documentation from AI answer engines. Publishing a unified Schema.org @graph connected by deterministic @id URIs, pairing explicit robots.txt rules for AI search bots, and exposing a clean /llms.txt markdown directory transforms your domain into a machine-readable knowledge graph ready for Google Rich Results and AI search citations.

Planning how AI citation readiness fits alongside paid and organic acquisition? See our GEO vs SEO vs SEM Budget Allocation Framework.

AI Visibility LayerImplementation StandardSearch & Citation Outcome
JSON-LD @graphUnified Organization, WebSite, WebPage, FAQPageConnects brand, products, and answers via stable @id
robots.txt SplitAllow search bots; manage training bots explicitlyPrevents accidental blackout from ChatGPT or Perplexity
/llms.txt IndexCurated Markdown links with concise descriptionsAccelerates LLM discovery of canonical docs and pricing
Render ParityMatch JSON-LD values 1:1 with visible HTMLPasses Google Rich Results Test with zero spam flags

1. Build a Connected Schema.org JSON-LD @graph

Instead of emitting separate plugins’ disconnected <script type="application/ld+json"> blocks, consolidate entities into one @graph array. Assign canonical fragment identifiers such as https://example.com/#organization and https://example.com/#website so every WebPage, Product, and FAQPage references the exact publisher entity cleanly. Make sure fast HTML delivery backs up your schema using our PageSpeed and Core Web Vitals breakdown.

  • Link WebPage.isPartOf to #website and WebSite.publisher to #organization using deterministic @id references.
  • Include alternateName and sameAs links on your Organization node to reinforce entity disambiguation.
  • Validate every template through Google Rich Results Test and Schema Markup Validator after deployment.

2. Configure robots.txt Bot Policies and Publish /llms.txt

Many security WAFs and default bot blocks inadvertently forbid AI search crawlers alongside scrapers. Separate retrieval search bots (OAI-SearchBot, PerplexityBot, Claude-SearchBot) from model training crawlers in robots.txt, and publish a concise /llms.txt file at root linking canonical documentation and product specs. If legacy site architecture blocks clean routes, consult our Slow Website Decision Guide.

  • Explicitly allow search retrieval user agents while keeping private checkout, cart, and admin paths disallowed.
  • Structure /llms.txt with an H1 brand summary, short core positioning, and categorized links to high-signal Markdown or HTML pages.
  • Keep /llms.txt focused on canonical URLs rather than duplicating noisy parameter or archive pages.

Common Pitfalls and Quick Fixes

  • Duplicate conflicting Organization schemas from SEO and theme plugins: Disable theme-level schema output so a single unified SEO graph controls all entity IDs.
  • FAQPage schema failing validation due to mismatched visible text: Ensure every schema question and answer matches the visible accordion text verbatim.
  • Cloudflare WAF blocking AI search bots despite robots.txt Allow rules: Whitelist verified AI search crawler user agents and ASNs in CDN firewall rules.

Frequently Asked Questions

Why use JSON-LD @graph instead of separate schema script tags?

A unified @graph array lets multiple entities reference one another explicitly through shared @id URIs inside a single payload. Rather than forcing search engines to guess whether separate snippets belong together, your site declares unambiguous relationships linking organization, website, product, and FAQ nodes.

Can I block AI model training without hiding from AI search answers?

Yes. Major AI platforms separate training crawlers from live search retrieval bots. In robots.txt, you can disallow training user agents like GPTBot or Google-Extended if policy requires, while keeping search retrieval bots such as OAI-SearchBot and PerplexityBot allowed for live citations.

What format should a production /llms.txt file follow?

Publish /llms.txt as a clean UTF-8 Markdown file served with HTTP 200 status at your root domain. Start with a single H1 title, a concise blockquote summary, and grouped H2 sections containing descriptive links to key documentation, product overviews, pricing, and technical FAQs.

Does /llms.txt replace XML sitemaps or Schema.org markup?

No. XML sitemaps govern traditional crawl discovery, JSON-LD @graph provides structured entity semantics for Google and knowledge graphs, and /llms.txt serves as a curated Markdown map for AI agents. Together, all three files reinforce accurate indexing across search engines and LLMs.


Comments

Leave a Reply

Your email address will not be published.Required fields are marked *