The Complete Guide to Making Your Website SEO & LLM-Friendly in 2026
By Joe Apfelbaum | NewsJackingDaily.com + evyAI.com
The rules of the internet just changed — again. For 20 years, SEO meant ranking on Google. Now there’s a second game running in parallel: getting indexed, cited, and recommended by AI systems like ChatGPT, Claude, Perplexity, and Gemini. The websites that win the next decade will be optimized for both. This guide shows you exactly how.
Why This Guide Exists
I built NewsJackingDaily.com as a brand new website — a daily source for trending news topics, content hooks, and ready-to-use prompts for creators and marketers. From day one, I designed it to be crawled and indexed not just by Google, but by every major AI system on the planet.
When I asked Claude to do a full audit of the site’s LLM-friendliness, the response was a near-perfect score — and an itemized list of every upgrade that could push it even further. That conversation became this guide.
This is not theory. This is the exact playbook I used, and the exact prompt I’m giving to AI-powered coding tools like Replit Agent and Lovable to implement it.
Part 1: Understanding the Two Audiences You’re Writing For
Audience 1: Search Engines (Google, Bing, DuckDuckGo)
Traditional SEO. Google crawls your HTML, reads your content, indexes your pages, and ranks them based on relevance, authority, and experience. You know this game.
Audience 2: Large Language Models (ChatGPT, Claude, Perplexity, Gemini)
This is newer — and most website owners are completely ignoring it. LLMs work differently from search engines:
They don’t just rank pages — they synthesize and cite them
They prefer structured, machine-readable data over dense paragraphs
They crawl via dedicated bots (GPTBot, ClaudeBot, PerplexityBot) that behave differently from Googlebot
They weight freshness, authority, and citability heavily
They can ingest JSON APIs and structured feeds directly — not just HTML
The opportunity: most websites are built for humans and Google. Almost none are built for LLMs. Getting there first is a massive competitive advantage.
Part 2: The 12-Point Framework
1. The llms.txt File — The #1 Most Overlooked Feature
The llms.txt file is the emerging standard for telling AI systems what your site is, what it contains, and how to use it. Think of it as robots.txt — but for LLMs instead of search crawlers.
What it should contain:
Site name and description
What content is on the site (in plain English)
All API endpoints LLMs can use to fetch structured data
Categories and navigation structure
A dynamic list of your most recent content with summaries
Explicit crawl permission statement
Update frequency
Where to put it: yourdomain.com/llms.txt
Critical rule: Make it dynamic, not static. A static file goes stale the moment you publish new content. Generate it from your database so it always reflects today’s content.
Example llms.txt structure:
# Your Site Name
> One-line description of what you do
## About
2-3 sentences describing your content, who it's for, and what makes it unique.
List every content module on the site (hooks, tweets, FAQs, prompts, etc.)
## Publisher
Site: https://yourdomain.com | Contact: hello@yourdomain.com
## Update Frequency
[How often you publish]. Re-crawl recommended every [X] hours.
## Crawling & Usage
This site welcomes indexing by AI crawlers, LLM training pipelines,
RAG systems, and search engines. All content is freely accessible.
## API Endpoints
- Live Articles: https://yourdomain.com/api/v1/articles
- Categories: https://yourdomain.com/api/v1/categories
- JSON Feed: https://yourdomain.com/feed.json
- Sitemap: https://yourdomain.com/sitemap.xml
## Categories
- [Category Name](URL)
## Latest Topics (auto-generated from database)
- [Article Title](URL): One-sentence summary
2. The llms-full.txt File — The Power Move
While llms.txt is a map, llms-full.txt is the territory. This is a larger file (50-100KB is fine) that contains the full text content of your most recent articles in a single, clean pull.
Why this matters: LLMs doing research often want to ingest full content without making 20+ individual page requests. This file gives them everything in one shot — increasing the chance your content gets read, synthesized, and cited.
What to include for each article:
Title, category, publish date
Full summary
All hashtags
Complete content (hooks, tweets, FAQs, prompts — everything)
Clean
---dividers between articles
Serve this at yourdomain.com/llms-full.txt. Update it dynamically with your 10 most recent articles.
3. A Structured JSON API — The Developer & LLM Shortcut
If your site has any kind of database, expose a clean JSON API. This is the single feature that makes your site most useful to AI pipelines, developers building integrations, and LLM agents.
Minimum viable API:
GET /api/v1/articles — returns your articles as structured JSON
Parameters your API should support:
?limit=N— control how many results to return?category=slug— filter by category?since=ISO_DATE— return only articles published after a date (critical for daily AI crawlers fetching new content only)?format=full— return all fields including arrays of hooks, tweets, FAQs?format=summary— lightweight version with just title, slug, summary, date
Response headers to include:
Cache-Control: max-age=3600(so crawlers don’t hammer your server)X-Total-Count: [number](so systems know the full article count)Access-Control-Allow-Origin: *(CORS, so client-side tools can access it)
4. A /api/v1/today Endpoint — The Daily Cron Job’s Best Friend
Create a dedicated endpoint that returns only today’s content. This is the endpoint that newsletter automation tools, daily AI briefings, and content monitoring systems will hit every morning.
{
"date": "2026-03-15",
"count": 12,
"articles": [...]
}
Cache for only 15 minutes — new content may be added throughout the day.
5. JSON Feed & Atom Feed — Subscribe Me to Your Brain
RSS is dead. JSON Feed is alive. Atom is still respected. Implement both.
A proper JSON Feed (/feed.json) at the JSON Feed 1.1 spec gives every feed reader, AI aggregator, and newsletter tool a clean subscription endpoint. Each item should include:
id(canonical URL as the unique ID)titlesummarycontent_html(full rendered content)date_published(ISO 8601)tags(your hashtags/keywords array)url
6. robots.txt — Welcome the AI Crawlers Explicitly
Most robots.txt files were written before AI crawlers existed. Update yours to explicitly welcome the bots that matter most in 2026:
User-agent: *
Allow: /
# AI & LLM Crawlers — explicitly welcomed
User-agent: GPTBot
Allow: /
User-agent: ClaudeBot
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: anthropic-ai
Allow: /
User-agent: Google-Extended
Allow: /
User-agent: Applebot-Extended
Allow: /
User-agent: CCBot
Allow: /
Sitemap: https://yourdomain.com/sitemap.xml
Sitemap: https://yourdomain.com/llms.txt
Note: add your llms.txt URL as a second Sitemap entry — some crawlers pick this up automatically.
7. Sitemap.xml — Not All Sitemaps Are Equal
A basic sitemap lists your URLs. A great sitemap tells crawlers everything they need to prioritize intelligently.
Every URL in your sitemap should have:
<lastmod>— the ISO date the page was last updated (use your article’s publish date)<changefreq>— how often the page changes (daily for homepage, weekly for articles)<priority>— relative importance (1.0 for homepage, 0.8 for category pages, 0.6 for article pages)
Critical: Generate this dynamically. A static sitemap is a snapshot that ages the moment you publish new content.
8. Schema.org JSON-LD on Every Page — Structured Data for AI
This is the most underused SEO and LLM feature on the web. JSON-LD is a block of structured data embedded in your page’s <head> that tells Google, Bing, and AI systems exactly what your content is — without them having to parse your HTML.
Add this to every article page:
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Your Article Title",
"description": "Your article summary",
"datePublished": "2026-03-15T09:00:00Z",
"dateModified": "2026-03-15T09:00:00Z",
"keywords": "keyword1, keyword2, keyword3",
"articleSection": "Category Name",
"url": "https://yourdomain.com/article/slug",
"publisher": {
"@type": "Organization",
"name": "Your Site Name",
"url": "https://yourdomain.com"
}
}
For your homepage, use WebSite schema with a SearchAction — this tells Google you have a search function and can result in a search box appearing directly in search results.
9. Open Graph Meta Tags — The Social & AI Preview Layer
Every page needs complete Open Graph tags. These are what get read when someone shares your link anywhere — and increasingly what AI systems read to quickly understand a page’s context.
Essential OG tags for every article page:
<meta property="og:title" content="Article Title" />
<meta property="og:description" content="Article summary" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://yourdomain.com/article/slug" />
<meta property="og:image" content="https://yourdomain.com/api/og?slug=article-slug" />
<meta property="article:published_time" content="2026-03-15T09:00:00Z" />
<meta property="article:tag" content="keyword1" />
<meta property="article:tag" content="keyword2" />
10. Dynamic OG Image Generation — Stand Out Everywhere
Static OG images are a missed opportunity. Generate them dynamically for every article — an image that shows the article title, category, and your branding. Tools like @vercel/og make this straightforward in Next.js.
Your OG image should display:
Your site name/logo
The article headline (large, readable)
The category badge
2-3 hashtags
Your domain as a watermark
Size: 1200×630px. This image appears in every share, every link preview, every AI research card.
11. A /for-llms Public Page — The Developer Handshake
Create a human-readable page at /for-llms that explains to developers and AI systems how to use your site programmatically. Include:
What the site does and how it publishes
All API endpoints with example responses
Links to
llms.txtandllms-full.txtExample
curlcommands for fetching today’s contentInstructions for building a RAG pipeline with your API
How to subscribe via JSON Feed or Atom
Contact info for API partnerships
This page serves double duty: it’s useful for developers AND it’s a dense collection of LLM-relevant terminology that gets indexed.
12. Internal Linking Architecture — Teach Crawlers to Go Deeper
Every time a crawler lands on a page, it looks at your internal links to decide where to go next. If your pages are silos with no connections, crawlers index one page and leave. If every page links to 4-6 related pages, crawlers go deep.
Best practices:
Every article page should show 4+ related articles
Use shared tags/hashtags to determine semantic relationships
Add a “More in [Category]” section with the 3 newest articles in the same category
Make sure your homepage links to every category, and every category links to every article
Breadcrumbs (
Home > Category > Article) help both SEO and LLM context
Part 3: Content Strategy for LLM Indexability
Beyond the technical infrastructure, your content itself needs to be designed for LLM ingestion.
Write in discrete, scannable sections. LLMs don’t read linearly — they extract sections. Use clear H2 and H3 headings that make sense out of context.
Include FAQ sections on every page. FAQs are structured question-answer pairs — the exact format LLMs use for training data and answer synthesis. Pages with FAQs get cited more.
Make your summaries sing. The first 2-3 sentences of any article or summary will be read first by both humans and LLMs. Make them count — specific, concrete, and context-rich.
Use hashtags and tags consistently. Tags act as semantic metadata. LLMs use them to cluster related content and understand a site’s topical authority.
Update content with timestamps. LLMs weight recency. A page with a dateModified schema tag from yesterday ranks higher in AI citations than the same page with a stale date.
Publish at consistent times. If you publish daily at 8 AM, AI crawlers can schedule their visits efficiently. Consistent cadence = higher indexing priority.
Part 4: The Replit / Lovable Implementation Prompt
Copy and paste the following prompt into Replit Agent, Lovable, Bolt, or any AI-powered coding tool to implement everything in this guide:
I have a website and I want to make it fully optimized for both traditional
SEO and LLM/AI discoverability. Please implement ALL of the following:
---
## 1. DYNAMIC llms.txt
Create a dynamically generated route at /llms.txt (served as text/plain)
that pulls from the database/CMS and outputs:
- Site name and tagline
- About section explaining all content types on the site
- Publisher info and contact
- Update frequency statement
- Explicit crawl permission: "This site welcomes indexing by AI crawlers,
LLM training pipelines, RAG systems, and search engines. All content is
freely accessible."
- All API endpoints as a list
- All categories with URLs
- Dynamic topic list: the 30 most recent articles/posts from the database,
each as: - [Title](URL): one-sentence summary
Regenerate this file fresh on every request (or cache for max 1 hour).
---
## 2. DYNAMIC llms-full.txt
Create a route at /llms-full.txt (text/plain) that outputs the FULL content
of the 10 most recent articles. For each article include:
- Title, Category, Published Date
- Full summary/description
- All tags/keywords
- ALL content fields (hooks, tweets/social posts, FAQs, prompts, etc.)
- Separate each article with ---
This file should be 50-100KB. That is intentional.
---
## 3. JSON API UPGRADE
Create or upgrade the articles API at /api/v1/articles to support:
Query parameters:
- ?limit=N (default 20, max 100)
- ?category=slug
- ?since=ISO_DATE (articles published after this date)
- ?format=full (all fields including arrays)
- ?format=summary (id, title, slug, summary, tags, publishedAt, category only)
Response headers:
- Cache-Control: max-age=3600 (summary), max-age=300 (full)
- X-Total-Count: [total article count]
- Access-Control-Allow-Origin: *
---
## 4. /api/v1/today ENDPOINT
Create a GET endpoint at /api/v1/today that returns only articles published
today (UTC). Response shape:
{
"date": "YYYY-MM-DD",
"count": N,
"articles": [...full article objects...]
}
Cache for 15 minutes only.
---
## 5. JSON FEED + ATOM FEED
Create:
- /feed.json — JSON Feed 1.1 spec with full content_html per item
- /feed.atom — Atom 1.0 feed with full content per entry
Each item/entry must include: id (canonical URL), title, summary,
full content, date_published, tags, url.
---
## 6. ROBOTS.TXT
Create or replace /robots.txt with:
User-agent: *
Allow: /
User-agent: GPTBot
Allow: /
User-agent: ClaudeBot
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: anthropic-ai
Allow: /
User-agent: Google-Extended
Allow: /
User-agent: Applebot-Extended
Allow: /
User-agent: CCBot
Allow: /
Sitemap: https://[yourdomain.com]/sitemap.xml
Sitemap: https://[yourdomain.com]/llms.txt
---
## 7. DYNAMIC SITEMAP.XML
Generate /sitemap.xml dynamically from the database. Every URL must include:
- <lastmod> (use article's publish date; today's date for homepage/categories)
- <changefreq> (daily for homepage and categories; weekly for article pages)
- <priority> (1.0 homepage, 0.8 categories, 0.6 articles)
Include: homepage, all category pages, all article/topic pages.
---
## 8. JSON-LD SCHEMA ON EVERY ARTICLE PAGE
On every article/topic page, inject this into <head>:
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "[title]",
"description": "[summary]",
"datePublished": "[publishedAt ISO]",
"dateModified": "[publishedAt ISO]",
"keywords": "[tags joined by comma]",
"articleSection": "[categoryName]",
"url": "[canonical URL]",
"publisher": {
"@type": "Organization",
"name": "[Site Name]",
"url": "https://[yourdomain.com]"
}
}
On the homepage, add WebSite schema with SearchAction:
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "[Site Name]",
"url": "https://[yourdomain.com]",
"potentialAction": {
"@type": "SearchAction",
"target": "https://[yourdomain.com]/search?q={search_term_string}",
"query-input": "required name=search_term_string"
}
}
---
## 9. OPEN GRAPH META TAGS ON EVERY PAGE
Every page needs these in <head>:
<meta property="og:title" content="[title]" />
<meta property="og:description" content="[summary]" />
<meta property="og:type" content="article" />
<meta property="og:url" content="[canonical URL]" />
<meta property="og:image" content="/api/og?slug=[slug]" />
<meta property="article:published_time" content="[ISO date]" />
[one <meta property="article:tag"> per tag/hashtag]
Also add Twitter Card tags:
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="[title]" />
<meta name="twitter:description" content="[summary]" />
<meta name="twitter:image" content="/api/og?slug=[slug]" />
---
## 10. DYNAMIC OG IMAGE GENERATION
Create an API route at /api/og?slug=[slug] that generates a 1200x630px
image for each article using @vercel/og or canvas/sharp. The image should show:
- Site name/logo in top left (bold, branded)
- Article title (large, readable, wrapped if needed)
- Category badge (colored pill/tag)
- Top 2-3 hashtags
- Site domain watermark bottom right
- Dark or branded background
---
## 11. /for-llms PUBLIC PAGE
Create a page at /for-llms that includes:
- H1: "For AI Systems, LLMs & Developers"
- What this site is and how often it publishes
- Table of all API endpoints with descriptions and example URLs
- Direct links to /llms.txt, /llms-full.txt, /feed.json, /feed.atom
- Example curl commands:
curl https://[domain]/api/v1/today
curl "https://[domain]/api/v1/articles?format=full&limit=5"
curl "https://[domain]/api/v1/articles?since=2026-03-14T00:00:00Z"
- How to build a RAG pipeline using the articles API
- How to subscribe via JSON Feed
- Contact email for API partnerships
- Link this page in the site footer
---
## 12. INTERNAL LINKING IMPROVEMENTS
On every article/topic page:
- Show 4 related articles in a "Related Topics" section (match by shared tags)
- Add a "More in [Category]" section with the 3 newest articles in same category
- Add breadcrumb navigation: Home > Category > Article Title
- Add breadcrumb JSON-LD schema:
{
"@type": "BreadcrumbList",
"itemListElement": [
{"@type": "ListItem", "position": 1, "name": "Home", "item": "/"},
{"@type": "ListItem", "position": 2, "name": "[Category]", "item": "/category/[slug]"},
{"@type": "ListItem", "position": 3, "name": "[Article Title]", "item": "/topic/[slug]"}
]
}
---
## TECHNICAL REQUIREMENTS:
- Use proper Content-Type headers on all text/data routes:
- text/plain; charset=utf-8 for .txt files
- application/xml; charset=utf-8 for sitemap
- application/json for API endpoints
- application/feed+json for JSON Feed
- application/atom+xml for Atom feed
- Add ETag headers on all cacheable endpoints so crawlers can do
conditional GET requests and skip re-downloading unchanged content
- Add Access-Control-Allow-Origin: * to all API and feed endpoints
- All dynamic files (llms.txt, llms-full.txt, sitemap.xml) should be
generated server-side on every request or cached for max 1 hour —
NEVER served as static files that can go stale
- Start with items 1, 2, 6, and 7 first (the LLM text files, robots.txt,
and sitemap) as they are highest impact for AI discoverability,
then proceed through the remaining items in order.
Part 5: Measuring Success
How do you know if it’s working? Track these signals:
For LLM Visibility:
Search Perplexity for topics in your niche — are you getting cited?
Ask ChatGPT about your topic area — does it mention your site?
Monitor your
robots.txtand server logs for GPTBot, ClaudeBot, and PerplexityBot visitsCheck if your
llms.txtandllms-full.txtare being regularly fetched (look for crawler IPs and user agents)
For SEO:
Google Search Console — impressions, clicks, average position
Bing Webmaster Tools — same metrics, different engine
Core Web Vitals — your site speed and UX scores
Index coverage — how many pages are indexed vs. submitted in sitemap
For API & Feed Usage:
Count unique IPs hitting
/api/v1/todaydailyMonitor JSON Feed subscribers
Watch for API usage patterns (developers building on top of your content)
The Bottom Line
The websites that dominate the next five years will be built for two audiences simultaneously: humans and AI systems. The technical infrastructure is not complicated — it’s mostly about adding the right endpoints, the right metadata, and the right permission signals. Most of it can be implemented in a single afternoon with an AI coding tool.
The content strategy is harder: publish consistently, publish with depth, publish with structure. Make every page a complete resource, not a thin placeholder. Give AI systems something worth citing.
The window to get ahead of this is still open. Most of your competitors have never heard of llms.txt. BOOM.
Joe Apfelbaum is the CEO of evyAI and Ajax Union, founder of NewsJackingDaily.com, and author of High Energy Prompting. Known as “The LinkedIn Daddy,” he trains creators, marketers, and CEOs on AI-powered content strategy.
Resources:
NewsJackingDaily.com — see this framework live
newsjackingdaily.com/llms.txt — example llms.txt
newsjackingdaily.com/for-llms — developer guide
llmstxt.org — the emerging llms.txt standard
