- the module registers seo-sitemap-<locale> at seo.htmlSitemap.paths (defaults pl /mapa-strony, en /sitemap) and seo-sitemap-group-<locale> at <path>/:group (plus <path>/:group/<segment>/:page in the path form); a path an app page already has stays the app's - SeoHtmlSitemapPage (global, overridable): H1, an H2 per non-empty group, categories nested, a large group's link to its group page, sitemap.empty; group pages with a built trail, page suffix and <SeoPagination>; 404 for an unknown group or a page past the last, 301 for ?page=1, 503 when the sitemap API fails - GET /api/__seo__/sitemap proxies the sitemap plugin's HTML API (only while the CMS has the HTML sitemap on for the locale) - <SeoSitemapLink>: the footer link while the HTML sitemap is on - L3 default styles
17 lines
733 B
Plaintext
17 lines
733 B
Plaintext
# The layer switched off: seo.cms false (NUXT_PUBLIC_SEO_CMS=false) or the
|
|
# v0.1.1 switch public.seo.enabled false (NUXT_PUBLIC_SEO_ENABLED=false).
|
|
# No resolve, no CMS head, no redirect, no root files, no 404 report: the
|
|
# pages keep their own head and the API sees no request at all.
|
|
200 /about contains=<title>Own about | Playground</title> contains=href="https://own-canonical.test/about" noheader=X-Robots-Tag
|
|
200 /plain?page=abc contains=<title>Plain page | Playground</title>
|
|
404 /stary noheader=Location
|
|
404 /robots.txt
|
|
404 /google1234.html
|
|
404 /google0123.html
|
|
404 /kontakt
|
|
# The layer's HTML sitemap pages and footer link need the CMS.
|
|
404 /mapa-strony
|
|
200 /plain notcontains=seo-sitemap-link
|
|
apicalls 0
|
|
noreport /kontakt
|