Crawlers: noindex, robots.txt, llms.txt and site verification
Describes PhoenixKit 3.5.0.
The Crawlers page is your site’s policy towards bots: whether search engines may index it, which groups of bots may crawl it, what robots.txt should say, the llms.txt summary for AI assistants, and the verification tags Google and Bing ask for.
Where to find it
Settings → Crawlers (/admin/settings/crawlers). You need the Crawlers permission, or the Owner or Admin role. Crawlers is a module: turn it on on the Modules page first; until then its card says Enable module to access settings. Turning it on changes nothing by itself: every bot group starts allowed and blocking starts off.
Crawlers: keep a site out of search engines, or let them in.
Robots Directive: Noindex · Nofollow
The Noindex · Nofollow switch adds a noindex, nofollow robots tag to every PhoenixKit layout, which tells crawlers not to index the pages or follow their links. Use it on a staging site. While it is on, the card reminds you: Search engines are instructed to skip this environment. Remove this before launch.
Sitemap Exemption: Exempt keeps publishing the sitemap’s real addresses while noindex is on, so the sitemap can be checked without exposing the site; Follows noindex does not. The noindex tag itself is the same either way.
Bot Access: who may crawl this site
Bots are grouped by why they visit: Search engines, AI training scrapers, AI assistants & AI search, SEO tool crawlers and Web archives. Each group is Allowed or Blocked. Blocking a group writes it into the robots.txt below.
Crawler Instructions: robots.txt
The card shows the complete robots.txt your choices describe, with Copy. PhoenixKit does not serve this file itself: paste it into your app’s priv/static/robots.txt.
The card checks the file you have:
- No priv/static/robots.txt found. Without one, crawlers assume everything is allowed, and the groups you blocked are not being told.
- The file exists but has no
Sitemap:line: paste the file above so crawlers are told where your sitemap is. - Otherwise: priv/static/robots.txt points crawlers at your sitemap.
Noindex and robots.txt are separate: noindex tells crawlers not to index what they fetched, robots.txt tells them what not to fetch. A staging site usually wants both.
AI Discovery: llms.txt
While the module is on, PhoenixKit serves /llms.txt, a short markdown summary that tells AI assistants what the site is about. The heading comes from your project title; below it goes your own text (Optional markdown: a summary paragraph, key links, docs pointers…). Preview of the served file: shows the result, and Save keeps it.
Search engine verification
Paste the verification value Google Search Console or Bing Webmaster Tools gives you into Google (google-site-verification) or Bing (msvalidate.01) and press Save. The meta tags are added to every layout. Pasting the whole <meta> tag works too: the value is taken out of it.
Enforcement: block at the application
Block at the application answers 403 to requests whose browser identification (User-Agent) matches a blocked group, for bots that ignore robots.txt. It is off by default.
The card is plain about its limits: anything can send any User-Agent, so a scraper that lies gets through. Real blocking belongs at your CDN or reverse proxy. Bots known only by a robots.txt name (Google-Extended, Applebot-Extended) crawl under their main user agent and are never matched here, so blocking AI training cannot block Googlebot.
What it doesn’t do
- It does not write or serve robots.txt: you copy the generated file into your app.
- It does not handle meta titles, descriptions or Open Graph tags; Open Graph is a module of its own.
- Application-level blocking is best effort, not real protection.