# Website SEO on the CMS host (website-seo) - **Slug**: website-seo - **Type**: Feature (small), built outside the AI-DLC flow and documented afterwards - **Status**: Commits a7460a0, 284ff1f (2026-11-11) and 32b98fe on `feature/contact-forms-module`; on the SLP test host (not merged, nothing in production) - **Affected components**: `SlpModularCms.Core` (`Hosting/Website`), `SlpModularCms.Modules.Offerings` (index markers), `SlpModularCms.Api.SlpSoftware/appsettings.json` - **Documented**: 2026-11-15 - **Documentation Language**: English - **Conversation Language**: Dutch (user language) > Not run through the AI-DLC stages; this file records what the code does. There are no `requirements`, `plans` or `audit.md`. ## Scope Only hosts in `WebsiteMode.SpaFallback` (SlpSoftware). The ASF host (`PrerenderedPages`) registers none of this: that site builds its own canonical, og, JSON-LD and sitemap. ## Behaviour (`Website` configuration section) | Setting | Effect | |---|---| | `NoIndex` (default `true`, fail-safe) | `X-Robots-Tag: noindex, nofollow` on every response; `/robots.txt` is `Disallow: /`; no sitemap. **Production must set `Website__NoIndex=false`.** | | `PublicBaseUrl` | Absolute address of the instance. With `NoIndex=false`: `/robots.txt` allows all and points to `{PublicBaseUrl}/sitemap.xml`; `/sitemap.xml` lists `Sitemap:Paths` (no `lastmod`). Production: `https://slpsoftware.nl`. | | `AuthoredBaseUrl` | The address the static `index.html` is written with. On a test instance with its own `PublicBaseUrl`, the host replaces the authored address by `PublicBaseUrl` in the served HTML (canonical, og, JSON-LD). Equal on production, so nothing changes. Only the configured value is used, never the request's Host header. | | `KnownPaths` | Only these paths are pages (200, the SPA shell); any other website path is a real 404 (still the shell). `/api`, `/admin` and assets keep working. | | `Sitemap:Paths` | Paths listed in the sitemap. | ## Index markers (`IndexHtmlInjector`) The host fills markers in `index.html`: `` (schema.org `ItemList` of `Offer`) and `` (a static `#packages-static` list), rendered by `OfferingsIndexMarkers` from the live offerings. 60-second cache, invalidated directly by every offering change, `ETag` with 304 support; if a provider fails the plain page is still served. The markers must stay in `` above `#root`; the website removes `#packages-static` on start-up.