Files
sm-seo-plugin/config/config.yaml
Jakub Zych 742a5b930b feat: site endpoint, llms.txt and the sitemap index in robots.txt
- GET /_seo/api/v1/site (public, noindex): site_url, default_locale,
  locales, unprefixed_locale, links.new_tab, html_sitemap (from the
  sitemap plugin's Listing), routes of every content type, root_files
  (verification files and the IndexNow key file) and llms
- GET /llms.txt: with llms_enabled (robots.txt screen, AI bots tab, off by
  default) and in production, the indexable pages from the sitemaps per
  group under the site name and llms_intro (else the default
  description); otherwise 404; seo_update_robots takes both fields
- robots.txt names the sitemap plugin's index unless
  golem15.seo.robots_sitemaps is set; the config default is now a comment
2026-11-04 13:32:12 +01:00

35 lines
1.5 KiB
YAML

# golem15.seo defaults, read as golem15.seo.<key>.
#
# site_url is the public origin of the site (for example
# https://example.com). Canonical, og:url and every other absolute URL the
# resolver answers start with it; when it is empty, app.url is used. The
# request's Host header is never used.
site_url: ""
#
# unprefixed_locale names the locale whose public URLs carry no locale
# prefix (for example pl on a site whose English pages start with /en).
# Empty leaves the choice to each content type.
unprefixed_locale: ""
#
# notfound_token is the shared secret the frontend server sends as
# "Authorization: Bearer <token>" with each 404 report to
# POST /_seo/api/v1/notfound. Empty turns the endpoint off (it answers 404).
notfound_token: ""
#
# notfound_max_rows caps the 404 log; new addresses beyond it are dropped,
# with one warning an hour.
notfound_max_rows: 10000
#
# robots_sitemaps lists the sitemap addresses robots.txt names, one
# "Sitemap:" line each, made absolute on the site URL. Unset, robots.txt
# names the sitemap plugin's index (its site address plus /sitemap.xml);
# the per-type files are never listed, the index names them. Set it only
# to name other sitemaps:
# robots_sitemaps: ["/sitemap.xml"]
#
# route_report_token is the shared secret the frontend server sends as
# "Authorization: Bearer <token>" with its route report to
# POST /_seo/api/v1/registry/routes (the page registry). Empty uses
# notfound_token; both empty turn the report off (it answers 404).
route_report_token: ""