5.3.7
Search and AI
What Apogee gives search engines and AI tools, how to hide a page, and how to turn away AI training crawlers.
Apogee is ready for search engines and AI search out of the box. This page lists what ships and what you can change.
Set your address first
The links in the sitemap, the feed, robots.txt, llms.txt, the share cards and the structured data are full addresses. They come from your site’s public address. Set the SITE_URL environment variable, or the site line in astro.config.mjs. See Deploy. Until you set it, a static build’s point at https://example.com, and an EmDash server’s use the address the server sees for each request, usually http://localhost.
What ships
Every public page has:
- A title and a description, a canonical link, and the tags that social sites read.
- A share card: an image made for the page, shown when someone shares the link.
- Structured data (JSON-LD). It tells search engines what the page is, in the schema.org format.
The canonical link points at the page’s own address. It tells search engines which address is the main one. A canonical in an entry’s seo: fields, or the “Canonical URL” in its EmDash SEO panel, replaces it.
The site also has:
/sitemap.xml: every public page./rss.xml: the newest 50 journal posts, each with its excerpt and its tags. The feed never holds a post’s text./robots.txt: lets every crawler in and points at the sitemap./llms.txt: a plain list of the public pages. See llms.txt.
Search and share fields
A project, a service, a post, a role, a page and the studio page take optional fields for search results and shares:
seo:
title: "Title for search results and shares"
description: "One or two sentences."
image: ../media/share.webp # a local image, next to the others in content/media/
canonical: https://example.com/original-post/
noindex: true # top-level: out of search engines, the sitemap and site search
Every field is optional. A missing one falls back to the entry’s title, summary or excerpt, and image. The build stops on a blank title or description, or on a canonical that is not a full https:// or http:// address. Use canonical when a post first ran somewhere else. In EmDash, each entry’s SEO panel has the same fields.
Structured data
Every page names the site (a WebSite) and your studio (an Organization). The studio has its name, legal name, logo, email, phone, address and social links, from content/site.json. With no logo, it has no logo field. The share card is never used as the logo.
Each page then says what it is:
- A journal post is a
BlogPosting, with its title, excerpt, image and dates. Its author is the team member inauthor, by name. With no author, it is the studio. - A case study is a
CreativeWork. - A service is a
Service. A service with its own FAQ is also anFAQPage. - The home page, when it shows an FAQ section, is an
FAQPagewith those questions. - The studio page is an
AboutPage, and Contact is aContactPage. - The journal, its tag pages and Careers are each a
CollectionPage. - A role and other pages, such as Privacy and Terms, are a
WebPage.
An FAQPage holds only the questions the page shows.
You do not need to fill in anything. The data comes from the content you already have.
Hide a page
Set noindex: true on a project, a service, a post, a role or a page. It goes at the top level, not under seo::
---
title: A service we no longer offer
noindex: true
---
The page still builds and its link still works. But it asks search engines not to list it. It has no structured data, and it is left out of the sitemap, llms.txt, the feed and site search.
To leave an entry out of the site completely, use draft: true instead. A closed role (open: false) has no page.
llms.txt
/llms.txt lists the site’s public pages in the llmstxt.org format. It starts with your studio’s name and tagline. Then it groups the pages by kind, under the headings Pages, Work, Services, Journal and Careers. Pages holds the main pages, such as Studio and Contact. Each line has the page’s title, its full address and, where it has one, its summary.
It is a map for a coding assistant or other AI tool that someone sends to your site, so the tool can see which pages you have. No tool has to read it, and it promises no results. It does not raise your search rank. Search engines do not use it to rank pages.
Hidden pages are never in it. It never holds a page’s full text.
Block AI training crawlers
By default, robots.txt lets every crawler in. Some crawlers collect pages to train AI models. To ask them to stay off your site, open src/pages/robots.txt.ts and change the line at the top:
export const AI_TRAINING = false;
robots.txt then adds this group:
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: CCBot
User-agent: Applebot-Extended
Disallow: /
These are the training crawlers of OpenAI, Anthropic, Google, Common Crawl and Apple. Only training is turned away. The crawlers that answer searches stay allowed, such as Googlebot, Bingbot, OAI-SearchBot, Claude-SearchBot and PerplexityBot. So your studio still shows in search results and in AI search answers.
Google-Extended does not change how Google Search lists your site.
What robots.txt cannot do
robots.txt is a request, not a lock. Well-known crawlers follow it, but nothing makes a crawler read it.
- When a person asks an AI chat tool to read one of your pages, the tool fetches it for that person, like a browser. Such fetches may not read
robots.txtat all. - It does not remove pages a crawler has already collected.
- Anyone can still open your public pages.
To block crawlers for real, use your host’s bot settings. Cloudflare, for example, can block AI crawlers at its edge.
Dates
A journal post can have an optional updated date, after its date:
---
title: Why we review on Fridays
date: 2026-09-18
updated: 2026-10-12
---
When updated is on a later day than date, the post shows “Updated October 12, 2026” under the byline. The sitemap and the structured data use it as the post’s last change. Leave it out, and they use date. In EmDash, it is the post’s “Last updated” field.
EmDash
With the EmDash source, everything on this page works the same way. A few notes:
- The theme writes the structured data. EmDash’s own site block is off, so each page has one
WebSite, not two. - Plugins that add their own structured data still work.
- The SEO panel’s title, description and image fill the page’s title, description and share tags. Its “Hide from search engines” switch works as
noindex: truedoes. Its “Canonical URL” works as thecanonicalfield does. - The theme owns
robots.txtand the sitemap, so EmDash’s robots setting in the admin does not apply. Editsrc/pages/robots.txt.tsinstead. On a server build,robots.txtalso keeps crawlers out of/_emdash/.