CMS SEO Health Check + Developer Ticket Writer
Tired of asking developers for the same SEO fixes again and again? This prompt checks your CMS against 11 basic SEO controls every site needs, shows what is missing, and writes clear developer tickets with acceptance tests, so each fix is done once and done right.
Example input
This is exactly what we gave the model. You replace it with your own details.
- Website: https://www.example.net (B2B software company) - CMS: Webflow for the marketing site, with a custom React app for docs - Site type and size: Marketing site 400 pages, docs 1,200 pages - Who edits content: Marketing team with no code access edits Webflow; developers own the docs app - Known SEO pain points: Docs pages show 'Loading...' in the page source; we can't set canonicals on docs; deleted docs pages show a 'not found' message but return 200; no way to noindex thank-you pages; the docs sitemap is a static file someone updates by hand - Optional: what I already know works or doesn't: Webflow lets us edit titles, meta descriptions and Open Graph per page, and it has 301 redirect settings. We use www and HTTPS already.
Real output
Pasted straight from the model. We did not fix a word.
CMS SEO Audit: example.net (Webflow + React docs)
Before I start: 5 questions (with my guesses)
I've used these guesses in the rest of this answer. If one is wrong, tell me and I'll adjust the affected tickets.
- Where do the docs live? Guess: on a subdomain,
docs.example.net, hosted separately from Webflow. (If they're underwww.example.net/docsthrough a proxy, the robots.txt and host rules move to Webflow or the proxy, and DOCS-07 and DOCS-09 change.) - How is the docs app built and hosted? Guess: a client-side React app (Vite or Create React App). Content is Markdown/MDX files in Git, deployed to a static host or CDN (S3 + CloudFront, Netlify or Vercel) with a rule that sends every path to
index.html. - Do you have any language besides English? Guess: English only on both sites. So hreflang isn't needed today, but it's in the vendor checklist.
- Do the docs have several product versions at different URLs (v1, v2)? Guess: no, there's one current version.
- Do you have Search Console for both hosts? Guess: yes, a Domain property for example.net that covers www and docs.
I'm also taking these as facts from your message: marketing has no code access; Webflow titles, meta descriptions, OG and 301 settings work; and Webflow already forces www + HTTPS. You use Webflow's 301 settings, so you must be on a paid site plan. That means robots.txt editing and page-level custom code are open to you, although custom code needs someone with Designer access.
1. Audit table
Test kit used in the table
- View-source:
Ctrl+Uorview-source:URL. This shows what the server sends. Don't use Inspect, because Inspect shows the page after JavaScript has run. - Header checker:
curl -sI URLshows the status code and the redirect target.curl -sIL URLfollows the full redirect chain. - Raw-HTML check:
curl -s URL | grep -i "a sentence from the page". - Crawl tool: Screaming Frog or Sitebulb. Crawl once with Rendering = Text only (what non-JavaScript bots see) and once with JavaScript rendering. Free Screaming Frog stops at 500 URLs, so the 1,200 docs pages need a paid licence or crawling by section.
- Search Console: URL Inspection (Test live URL → View tested page → HTML), the Page indexing report ("Soft 404", "Duplicate without user-selected canonical", "Excluded by 'noindex' tag") and the Sitemaps report.
WF = Webflow marketing site (www.example.net). Docs = React docs app (docs.example.net, guess).
| Control | How to test | Status | Risk | Fix |
|---|---|---|---|---|
| 1. Semantic HTML (WF) | Run Lighthouse (Accessibility) or axe on home, pricing, a product page and a blog post. Check headings with a headings browser extension. Pass: one H1 per page, H2/H3 in order, <main>, <nav> and <footer> present, menu items are <a href>, buttons are <button>. Fail: headings picked for font size, zero or several H1s, no <main>, tabs or menus built from clickable divs. | Needs test | Low–Medium | A designer fixes heading levels and sets the Tag option on Div blocks (Main, Nav, Section, Article). Add heading rules to the editor guide. |
| 1. Semantic HTML (Docs) | Run the same checks on 5 docs pages. Use Inspect for now, because the raw HTML is empty until DOCS-01. Focus on the sidebar, breadcrumbs and prev/next links. Pass: all are <a href="/path">, and headings come from Markdown in order. Fail: navigation through onClick on divs, or <a> without href. Crawlers can't follow those. | Needs test | Medium (the sidebar is how crawlers find 1,200 pages) | Built into the DOCS-01 acceptance tests. |
| 2. Server-rendered content (WF) | View-source of home, pricing, the blog index and one post. Search for a sentence from the main text and from any tabs, sliders, filters or embeds. Compare Screaming Frog word counts between Text-only and JavaScript crawls. Pass: the content is the same both ways. Fail: lists, pricing tables or text appear only through scripts (filter or load-more add-ons, third-party embeds). | Needs test (Webflow publishes static HTML, so this is likely a Pass. Guess) | Low | Replace script-loaded main content with native Webflow elements. |
| 2. Server-rendered content (Docs) | View-source or curl -s URL. Pass: the article text is in the response. Fail: only "Loading...". | Fail (you reported) | High | DOCS-01 |
| 3. XML sitemap + hreflang (WF) | Open /sitemap.xml. Confirm Site settings → SEO → Auto-generate sitemap is on. Crawl the sitemap in Screaming Frog list mode and check the Search Console Sitemaps report. Pass: every URL returns 200, is indexable and is self-canonical; there are no thank-you, utility or thin Collection pages (testimonials, authors, logos); the status is "Success". Fail: redirects, 404s, noindex pages or thank-you URLs inside. Hreflang isn't needed (guess: English only). | Needs test | Medium | Turn off "Sitemap indexing" on pages and Collection templates that shouldn't be indexed (see WEB-01). |
| 3. XML sitemap (Docs) | Compare the sitemap's URL count with the real page count, then crawl the sitemap URLs. Pass: generated on build and matches the live pages. Fail: edited by hand (your case). | Fail (you reported) | Medium–High | DOCS-04 |
| 4. robots.txt (WF) | Open /robots.txt and https://<your-project>.webflow.io/robots.txt. Pass: returns 200 as plain text, has a Sitemap: line, blocks nothing important, and does not block thank-you pages. The webflow.io staging domain is blocked ("Disable Webflow subdomain indexing" is on). Fail: a leftover Disallow: /, blocked CSS/JS, or an indexable staging domain. | Needs test | Medium (one wrong line can hide the whole site) | Edit it in Site settings → SEO, and limit who has access. |
| 4. robots.txt (Docs) | Run curl -sI and curl -s on https://docs.example.net/robots.txt. Pass: returns 200 as text/plain, with real rules and a Sitemap: line. Fail: returns the app's HTML (common with single-page-app hosting) or a Disallow: / copied from staging. | Needs test | Medium | DOCS-09 |
| 5. Canonical tags (WF) | View-source on 5 page types and on a URL with ?utm_source=test, and search for rel="canonical". Also check page 2 of a paginated Collection list (?xxxx_page=2). Pass: exactly one absolute https://www.example.net/... canonical, pointing to the page itself, with no query string. Fail: no canonical (the global canonical URL is blank), two canonicals, or an http or non-www URL. A page 2 canonical that points to page 1 is minor if every post is also in the sitemap. | Needs test | Medium | Set Site settings → SEO → Global canonical tag URL to https://www.example.net. For exceptions, use a per-page canonical field if your Page settings show one. Never add a second canonical with custom code. |
| 5. Canonical tags (Docs) | View-source and search for rel="canonical". Pass and fail are the same as for WF. | Fail (you reported) | Medium–High | DOCS-05 |
| 6. Meta robots (WF) | View-source on thank-you pages and search for name="robots". Run curl -sI and look for X-Robots-Tag. Run URL Inspection on a thank-you URL and search Google for site:www.example.net inurl:thank. Pass: thank-you pages are noindex and normal pages aren't. Fail: thank-you pages can be indexed. | Fail (you reported) | Medium (low for rankings, but high for conversion data and gated content) | WEB-01 |
| 6. Meta robots (Docs) | Look for a front matter field or code that sets robots, then view-source. Pass: per-page control that shows in the raw HTML, and previews send noindex. Fail: no control, or a tag set only by JavaScript. | Needs test | Low–Medium | DOCS-08 |
| 7. Title, description, OG (WF) | In a crawl, filter titles and descriptions by Missing, Duplicate and Too long. Check that Collection templates use CMS fields. Paste 3 URLs into LinkedIn Post Inspector. Pass: unique, a sensible length, correct previews. Fail: duplicates across CMS items, the page name used as the title, no OG image. | Pass (the controls exist, as you said). Run the crawl to check quality. | Low | Make SEO fields required (see Safeguards). |
| 7. Title, description, OG (Docs) | View-source 5 docs URLs and compare <title> and <meta name="description">. Paste one URL into LinkedIn Post Inspector, which doesn't run JavaScript. Pass: each page has its own values in the raw HTML. Fail: one shared title (such as "Docs" or "React App") and no description. | Needs test. Likely Fail (guess: every page gets the same empty shell, so probably the same head too). | Medium–High | DOCS-06 |
| 8. Error pages (WF) | Run curl -sI on https://www.example.net/test-404-xyz and on one deleted CMS item URL. Pass: a 404 status and your custom 404 page with helpful links. Fail: a 200 status, or a redirect to the home page. | Needs test (Webflow normally sends a real 404. Guess) | Low | Make the 404 utility page helpful (search, top links). Webflow can't send a 410, but a 404 is fine. |
| 8. Error pages (Docs) | Run curl -sI on a made-up docs URL and on 3 deleted ones. Pass: 404 or 410. Fail: 200 with "not found" text. | Fail (you reported) | High | DOCS-02 |
| 9. One host, HTTPS (WF) | Run curl -sI on http://example.net/pricing, http://www.example.net/pricing and https://example.net/pricing. Pass: each one 301s straight to https://www.example.net/pricing in one hop. Fail: a 302 or 307, two hops, or any version that returns 200. | Pass (you reported). Confirm it's a single-hop 301. | Low | Keep www as the default domain in Webflow's hosting settings. |
| 9. One host, HTTPS (Docs) | Run curl -sI on http://docs.example.net/ and on the hosting platform's default URL (*.netlify.app, *.vercel.app, *.cloudfront.net, etc.). Pass: http goes to https in one 301, and the default URL redirects or is noindex. Fail: http returns 200, or the default URL can be indexed. | Needs test | Medium | DOCS-07 |
| 10. Trailing slash + lowercase (WF) | Run curl -sI on https://www.example.net/pricing/ and /Pricing. Pass: both 301 to /pricing, or return a 404. Fail: both return 200 and there's no canonical to /pricing. | Needs test | Low (a canonical covers most of it) | Make sure the global canonical is set. Webflow has no custom routing rules. |
| 10. Trailing slash + lowercase (Docs) | Request /getting-started, /getting-started/ and /Getting-Started. Pass: one returns 200 and the others 301 to it. Fail: all return 200 (likely, because of the catch-all rule. Guess). | Needs test | Medium | DOCS-07 |
| 11. Custom URLs + safe redirect (WF) | Change the slug of a test page and a test CMS item, publish, then run curl -sI on the old URL. Also review the 301 list for chains (A→B→C). Pass: the old URL 301s to the new one, either automatically or because Webflow prompts you to add one. Fail: the old URL returns 404 and there was no prompt. | Needs test (slug editing and 301 settings are a Pass, as you said) | Medium | WEB-02 + publish checklist |
| 11. Custom URLs + safe redirect (Docs) | In a preview deploy, rename or move one docs file, then run curl -sI on the old URL. Pass: a 301 to the new URL. Fail: a "not found" page (which today returns 200). | Needs test. Likely Fail (guess: you didn't mention a redirect system, and missing pages show "not found"). | High | DOCS-03 |
2. Gaps ranked by SEO risk and repeat tickets
| Rank | Gap | Status | SEO risk | Repeat-ticket risk | Ticket |
|---|---|---|---|---|---|
| 1 | Docs content appears only after JavaScript runs | Fail | High | Medium. It's the root cause of "page not indexed", "wrong title in Google" and "broken Slack/LinkedIn preview" tickets. | DOCS-01 |
| 2 | Deleted docs pages return 200 (soft 404) | Fail | High | High. Every deleted page adds one. | DOCS-02 |
| 3 | No redirect when a doc is moved or renamed | Needs test (likely Fail) | High | High. It happens with every restructure. | DOCS-03 |
| 4 | Docs sitemap is updated by hand | Fail | Medium | Very high. It needs attention on every publish. | DOCS-04 |
| 5 | No canonicals on docs | Fail | Medium | Medium | DOCS-05 |
| 6 | Docs titles, descriptions and OG tags not in the raw HTML | Needs test (likely Fail) | Medium–High | Medium | DOCS-06 |
| 7 | Thank-you pages can't be set to noindex | Fail | Low for rankings, high for analytics and gated content | Medium. It comes back with every new form or campaign. | WEB-01 |
| 8 | Webflow slug changes may not create redirects | Needs test | Medium | High. Marketing edits slugs on its own. | WEB-02 |
| 9 | Docs URL variants (http, uppercase, trailing slash, default host) | Needs test | Medium | Low once fixed | DOCS-07 |
| 10 | No per-page noindex in docs | Needs test | Low–Medium | Low | DOCS-08 |
| 11 | Docs robots.txt | Needs test | Medium if broken | Low | DOCS-09 |
Build order: start DOCS-01 first. DOCS-02, -05, -06 and -08 become small jobs once the server sends per-page HTML. Do WEB-01 this week alongside it, because it's about an hour of work. If DOCS-01 will take longer than about 4 weeks, ship the stopgap in DOCS-02 first.
3. Developer tickets
Priority scale: P0 = start now, blocks indexing · P1 = this sprint or next · P2 = this quarter. Conditional = build it only if the matching test in the audit table fails.
DOCS-01: Send the full page content in the HTML (prerender docs at build time)
Priority: P0 · Blocks: DOCS-02, DOCS-05, DOCS-06, DOCS-08
Problem: When anything requests a docs URL, our server sends an almost empty HTML file that only says "Loading...". The article text, headings and links appear only after the browser downloads and runs our JavaScript.
Why it matters for SEO:
- Google can run JavaScript, but it does so later, in a separate step, and that step can fail (timeouts, API errors, blocked files). When it fails, Google sees 1,200 identical "Loading..." pages.
- Many other bots don't run JavaScript at all. That includes most AI crawlers and the link previews in Slack, LinkedIn and Teams. They see an empty page.
- Crawlers find pages by following links. Our sidebar links don't exist until JavaScript runs, so new pages get found slowly.
- Every other docs SEO fix (canonicals, titles, real 404 status codes) needs the server to send per-page HTML.
Expected behavior:
- For every docs page, the first HTML response, before any JavaScript runs, contains the full article text, exactly one
<h1>, all subheadings, code samples, the sidebar, breadcrumbs and prev/next links. - Every navigation link is a real
<a href="/path">. No<div onClick>, and no<a>withouthref. - The
<head>contains the page's own title, description, canonical and OG tags (see DOCS-05 and DOCS-06). - After the page loads, React hydrates it, so search, tabs and copy buttons keep working.
- The "Loading..." placeholder never appears in the HTML of a content page.
Recommended approach: generate static HTML for every page at build time (static site generation). Content only changes on deploy, so we don't need a render server. Options, best first:
- Add prerendering to the current app: the
prerenderoption in React Router v7 (framework mode), or Vike if we're on Vite. - Move to a framework that does this out of the box: Next.js (static export), Docusaurus or Astro Starlight. All of them support React components.
- Server-side rendering per request (
renderToPipeableStreamin Node), only if some pages need live data. - Stopgap only: a prerender service such as Prerender.io that serves HTML to bots. Google calls this "dynamic rendering" a workaround, not a long-term solution.
Acceptance tests:
- For 20 random docs URLs,
curl -s URL | grep "<first sentence of the article>"finds the sentence. -
curl -s URL | grep -c "<h1"returns1for each of them. - A Screaming Frog crawl of docs.example.net with Rendering = Text only, starting at the docs home page, finds all ~1,200 live pages by following links.
- In the same crawl, no docs page has a word count close to the empty shell's word count.
- With JavaScript turned off in the browser, a docs page is readable and its sidebar links open other pages.
- In Search Console URL Inspection → Test live URL → View tested page, the HTML shows the article.
- There are no hydration errors in the browser console on 10 sample pages.
- Lighthouse LCP is the same or better on 3 sample pages.
Edge cases:
- Tabbed content (for example, code samples per language): every tab's content must be in the HTML. Hiding it with CSS is fine; fetching it on click isn't.
- Content fetched from an API at runtime (for example, an API reference built from an OpenAPI file): fetch it at build time instead.
- Client-only widgets (search box, feedback form, interactive console) can stay client-side, because they're not the main content.
- Browser-dependent output (dates, time zones, user names): render it after hydration to avoid mismatch errors.
- Preview and staging deploys must send
X-Robots-Tag: noindex(DOCS-08) so prerendered previews don't get indexed. - Pages behind a login, if any, stay out of prerendering and out of the sitemap.
DOCS-02: Return a real 404 status for docs URLs that don't exist
Priority: P0 · Best done with: DOCS-01 (the stopgap below covers the gap until then)
Problem: When a docs page is deleted, or someone types a wrong URL, the page says "not found", but the server answers 200 OK. To a search engine, that means "this is a real, working page".
Why it matters for SEO:
- Google calls these "soft 404s". They show up as errors in Search Console and waste crawl time on a 1,200-page site.
- Dead URLs can stay in Google and send searchers to an error message.
- Google can't tell deleted pages from live ones, so it can't clean up its index.
Likely cause (guess, confirm in the hosting config): the host sends every path to index.html with status 200, so the React router can handle it. This is the standard single-page-app setup. Examples: a CloudFront "custom error response" that maps 403/404 to /index.html with response code 200; a Netlify /* /index.html 200 rule; or a Vercel rewrite that sends all paths to /. React then shows a "not found" component, but the 200 status has already been sent.
Expected behavior:
- A URL that matches no docs page returns HTTP
404with a helpful "Page not found" page: docs search, a link to the docs home and links to the top 5 sections. It doesn't redirect to the home page. - The server or host sets the 404 status. JavaScript doesn't.
- A page removed on purpose with no replacement may return
410 Gone. This is optional, and404is fine. If there is a replacement, the old URL 301s to it instead (DOCS-03). - Valid pages keep returning
200, including with query strings (?utm_source=x). - Missing static files (old JS chunks, images) return
404, notindex.html.
How to build:
- With DOCS-01 (static files): output a
404.htmland configure the host to serve it with status 404 for unmatched paths. Remove the catch-all 200 rewrite. Netlify and Vercel do this automatically for a static404.html. On CloudFront, set the error response code to 404, not 200. - Stopgap before DOCS-01: write the list of valid routes at build time. Then use an edge function (CloudFront Function, Cloudflare Worker, Netlify Edge Function or Vercel Middleware) that returns the 404 page with status 404 for any path not on the list.
Acceptance tests:
-
curl -sI https://docs.example.net/this-page-does-not-exist-123returns404. - Each of 5 deleted-page URLs (from the old hand-made sitemap or Search Console) returns
404or410, or301if it has a replacement. - A crawl of all live docs pages shows 100%
200. -
curl -sI https://docs.example.net/assets/old-chunk-abc.jsreturns404, not 200 HTML. -
/robots.txtand/sitemap.xmlstill return200. - The 404 page loads its CSS and JS and shows search and links.
- After release, go to Search Console → Page indexing → Soft 404 and click "Validate fix". The count falls over the following weeks.
Edge cases:
- Case and trailing-slash variants of a valid URL (
/Getting-Started/) should redirect (DOCS-07), not return a 404. - Dynamic routes (
/docs/:slug): if the slug doesn't match any content, return a 404. Never render an empty template with a 200. - Draft pages return a 404 on production and are only visible in previews.
DOCS-03: Add a 301 redirect whenever a docs page is moved, renamed or merged
Priority: P1 · Conditional: build it if the rename test fails (likely, guess)
Problem: When a developer renames or moves a docs file, its URL changes. The old URL breaks, even though Google, customer bookmarks, support macros, blog posts and in-app help links still use it.
Why it matters for SEO: a 301 redirect tells Google "this page has moved here for good", so the new URL keeps the old one's rankings and links. Without it, the old URL becomes a 404 (today, a soft 404) and its value is lost. On docs sites, this is the biggest source of repeat "broken link" tickets.
Expected behavior:
- There's one redirects file in the docs repo (for example
redirects.yaml, withfrom: /old-pathandto: /new-pathentries), or aredirect_from:list in each page's front matter. - The host or edge serves these redirects as real server-side
301responses, not JavaScript or meta-refresh pages. - CI check (the key part): every build compares the page URLs of the last production build with the new build. If a URL has disappeared and has neither a redirect nor an explicit
removed: trueentry (which gives a 404 or 410), the build fails and names the URL. - Chains get flattened. If A→B exists and B moves to C, the build makes A go straight to C. No redirect is ever more than one hop.
- A CI link checker fails on internal links that point to redirects or 404s, so internal links always use the new URL.
- The query string is kept:
/old?x=1redirects to/new?x=1.
Acceptance tests:
- Renaming a test page in a branch without adding a redirect makes CI fail and name the old URL.
- After adding the redirect, CI passes, and on the preview
curl -sI /old-pathreturns301withLocation: https://docs.example.net/new-path. -
curl -sIL /old-pathshows exactly one redirect, then200. - A chain in the file (A→B, B→C) results in A going straight to C after the build.
- A loop (A→B, B→A) makes CI fail.
- A page marked
removed: truereturns404or410. - The link checker reports 0 internal links that point to redirects or 404s.
Edge cases:
- When one page is split into two, redirect to the closest match, not the docs home.
- When pages are merged, redirect every old URL to the merged page.
- The redirect target must be a live 200 page. Check this in CI.
- If you move to Docusaurus, note that its client-redirects plugin creates meta-refresh pages, not true 301s. Use host-level redirects instead.
- Links from the product app and from Webflow into the docs: keep a list of the top ones and test them after big restructures.
DOCS-04: Generate the docs XML sitemap automatically on every build
Priority: P1 · Works best with: DOCS-02, DOCS-05 and DOCS-08 (it uses their data to filter pages)
Problem: the docs sitemap is a static file that someone edits by hand. It goes out of date, listing deleted pages and missing new ones.
Why it matters for SEO: on a 1,200-page site, the sitemap is how Google quickly learns about new and updated pages. A stale sitemap sends Google to dead URLs and hides new ones. If the lastmod dates are wrong, Google stops trusting them.
Expected behavior:
- Each production build writes
/sitemap.xmlfrom the same list of pages the build renders. There's no separate list to maintain. - A URL is included only if it returns 200, isn't noindex, is its own canonical, and uses
https://docs.example.netwith the URL style from DOCS-07. - These are excluded: redirects, the 404 page, search results pages, drafts, noindex pages, and pages whose canonical points somewhere else.
<lastmod>is the date the page's content last changed: the last Git commit date of its source file, or anupdated:front matter field. It's not the build date. Format:YYYY-MM-DDor full ISO 8601.- Leave out
<changefreq>and<priority>, because Google ignores them. - Support splitting into a sitemap index above 50,000 URLs or 50 MB. That isn't needed now, but write the code for it.
- Hreflang isn't needed now (guess: English only). Keep an
alternateslist in the page data soxhtml:linkentries can be added later. - Serve the file with status 200 and
Content-Type: application/xml. - Add
Sitemap: https://docs.example.net/sitemap.xmlto the docs robots.txt (DOCS-09), and submit the sitemap once in Search Console. - Delete the hand-made file from the repo so no one edits it again.
Acceptance tests:
- The build log prints the sitemap URL count and the indexable page count, and the two numbers match.
- A Screaming Frog list-mode crawl of the sitemap shows 100%
200, 100% self-canonical, 0 noindex and 0 redirects. - A new test page appears in the sitemap after deploy, and disappears once it's deleted.
- Two builds with no content change leave every
lastmodthe same. - Editing one page changes only that page's
lastmod. - The file passes XML validation, and the Search Console Sitemaps report shows "Success".
Edge cases:
- CI often clones only the last commit (a shallow clone), which makes every file's Git date today. Use the full history (for example
fetch-depth: 0in GitHub Actions) or a front matter date. - Escape special characters in URLs (
&becomes&). - If the docs ever move under
www.example.net/docs, also add the sitemap line to Webflow's robots.txt.
DOCS-05: Add canonical tags to docs pages (self by default, override allowed)
Priority: P1 · Depends on: DOCS-01
Problem: docs pages have no canonical tag, and there's no way to set one.
Why it matters for SEO: the same docs page can often be reached at several URLs: with tracking parameters (?utm_source=), in upper or lower case, with or without a trailing slash, or on the host's default domain. A canonical tag tells Google which URL is the real one. Without it, Google guesses. It may show the wrong URL and split link value between the copies, and Search Console reports "Duplicate without user-selected canonical".
Expected behavior:
- Every indexable docs page has exactly one
<link rel="canonical" href="...">in the<head>of the HTML the server sends. - By default, it's the page's own clean URL: absolute,
https://docs.example.net, lowercase, in the chosen trailing-slash style, with no query string and no#fragment. - An optional front matter field
canonical:takes an absolute URL as an override. The build validates it: it must behttps, return 200 and not be a redirect or a noindex page. If it fails any check, the build fails. - The canonical is exactly the same string used in the sitemap (DOCS-04) and in
og:url(DOCS-06). - JavaScript never adds or changes the canonical.
Acceptance tests:
- View-source of 20 pages shows one canonical each, matching the page's own clean URL.
-
curl -s "https://docs.example.net/some-page?utm_source=test" | grep canonicalshows the URL without?utm_source. - A crawl shows all pages self-canonical except the ones with an override, 0 pages with several canonicals, and 0 canonicals pointing to non-200 URLs.
- An override on a test page shows up in the HTML, and an override that points to a 404 makes the build fail.
Edge cases:
- Versioned docs (guess: you don't have them): if old versions are near-copies of the current one, either point their canonical to the current version or set them to noindex. Decide per version.
- The same content on the marketing site and in the docs (for example, an integration page): choose one as the main page, and give the other a cross-host canonical to it.
- Pages with a canonical override are left out of the sitemap.
- Preview deploys keep the production canonical and also send noindex (DOCS-08).
DOCS-06: Per-page title, meta description and Open Graph tags in the server HTML
Priority: P1 · Conditional: build it if view-source shows the same title on every docs page (likely, guess) · Depends on: DOCS-01
Problem: every docs URL probably sends the same <title> and no description in its raw HTML, because the server sends one shared shell for every page.
Why it matters for SEO: the title is the blue link in Google, and the description is often the snippet under it. With the same title on 1,200 pages, Google struggles to tell them apart and writes its own. Link previews in Slack, LinkedIn and Teams don't run JavaScript and read the OG tags, and your support and sales teams share docs links all the time.
Expected behavior:
- Each page's server HTML
<head>contains:<title>: front mattertitle+| Example Docs(the brand suffix is a guess; use yours). It's unique per page.<meta name="description">: front matterdescription. If that's missing, use the first paragraph cut to about 155 characters at a word boundary.og:title,og:description,og:url(the same as the canonical),og:type=article,og:image(the page's image or a default 1200×630 docs image), andtwitter:card=summary_large_image.
- Build checks fail the build if
titleis missing. They warn if the description is missing, the title is over 60 characters, the description is over 160 characters, or two pages share a title. - There's exactly one
<title>. A client-side head library mustn't add a second one.
Acceptance tests:
- View-source of 10 pages shows a unique title and description in the raw HTML.
- A Text-only crawl shows 0 missing titles and 0 duplicate titles. Missing descriptions are either 0 or listed in the build warnings.
- LinkedIn Post Inspector and Facebook Sharing Debugger show the right title, description and image for 3 URLs.
- A test page with no
titlemakes the build fail.
Edge cases:
- Pages with the same name in different sections need the section in the title, for example "Authentication – Python SDK | Example Docs".
- Pages generated from code, such as an API reference, need a title template, for example "GET /users – Users API | Example Docs".
- Escape
<,&and quotes in titles and descriptions.
WEB-01: Let marketing set thank-you pages to noindex in Webflow
Priority: P1 (a small job, under an hour per page or template, so do it this week) · Who: someone with Webflow Designer access
Problem: after a form submission, visitors land on thank-you pages. Right now Google can index these pages, and marketing has no way to stop it.
Why it matters:
- People can reach a thank-you page from Google without filling in the form. If analytics or ad platforms (Google Ads, LinkedIn) count thank-you views as conversions, your numbers are inflated.
- Thank-you pages often hold download links for gated content (ebooks, reports). If the page is indexed, that content is free, and you lose the leads.
- They're thin pages that add nothing to search.
Expected behavior:
- Every thank-you page, and other after-action pages (confirmation, unsubscribe, internal-only landing pages), sends
<meta name="robots" content="noindex">in its HTML. - These pages aren't in
/sitemap.xml. - They are not blocked in robots.txt. If Google can't crawl a page, it can't see the noindex, and the URL can stay in search results.
- Marketing can switch this on and off without code.
- Normal pages aren't affected.
How to build (try these in order):
- Built-in toggle: go to Page settings → SEO settings and turn Sitemap indexing off. This removes the page from the auto-generated sitemap, and current Webflow versions also add a noindex tag. Publish, then check view-source for
noindex. If the tag is there, you're done, and marketing can use this toggle themselves from now on. - If no tag appears: go to Page settings → Custom code → Inside
<head>tag and add<meta name="robots" content="noindex">. This needs Designer access and is done once per page. - For thank-you pages that come from a CMS Collection (for example, one per ebook): add a required Option field called "Search visibility", with the values
index, followandnoindexandindex, followas the default. If your custom code field picker doesn't list Option fields, use a Plain text field. In the Collection template's head custom code, add<meta name="robots" content="[insert the field]">using the field picker. Marketing can then choose the value for each item in the Editor. - Keep all thank-you pages under one folder (for example
/thank-you/...), so they're easy to check.
Acceptance tests:
- View-source on each thank-you page shows exactly one
<meta name="robots" content="noindex">. -
/sitemap.xmlcontains no thank-you URLs. - robots.txt doesn't block
/thank-you. - In a full-site crawl, the list of noindex pages is exactly the thank-you and utility pages. In particular, the home page and product pages must not be on it.
- After a recrawl, Search Console URL Inspection on a thank-you URL shows "Excluded by 'noindex' tag".
- Thank-you URLs that are already indexed drop out over the following weeks. For urgent ones, use Search Console → Removals (it hides them for about 6 months) while the noindex takes effect.
Edge cases:
- Gated PDFs uploaded to Webflow's asset CDN can still be indexed as files, and Webflow can't add a noindex header to them. For truly gated files, host them somewhere that can send
X-Robots-Tag: noindex, or accept the risk. - Don't add noindex through Google Tag Manager or JavaScript, because Google may not see it.
- Unused Collection template pages (testimonials, team, logos) also create thin, indexable pages. Apply the same fix to those templates.
- Check that the Webflow site search results page (
/search) isn't indexable.
WEB-02: Catch broken Webflow URLs after slug changes (nightly check + alert)
Priority: P2 · Conditional: build it if the slug-change test shows that Webflow doesn't create a redirect for you
Problem: marketing can change any page or CMS item slug in Webflow. If nobody adds a 301 redirect, the old URL breaks. We can't add code inside Webflow to block this, so we need to catch it fast.
Why it matters for SEO: old URLs carry Google rankings, backlinks and ad traffic. A 404 throws that value away, and ads that point to a dead URL waste money until someone notices.
Expected behavior: a small scheduled job (for example, a nightly GitHub Action) that:
- Downloads
https://www.example.net/sitemap.xmland the docs sitemap, and saves a copy. - Compares them with yesterday's copies, and requests every URL that has disappeared.
- Posts to the marketing Slack channel when a removed URL returns
404instead of301, for example: "URL removed without redirect: /old-slug. Add a 301 in Webflow Site settings → 301 redirects." - Checks every URL in today's sitemaps and alerts when one returns something other than 200, has
noindex, or lacks a self-canonical. - Alerts with a diff when robots.txt has changed since yesterday.
- Checks a stored watch list (the top 50 landing pages and ad landing pages) and alerts on anything other than 200, or on a redirect chain longer than one hop.
Acceptance tests:
- Changing a test page's slug on the live site without a redirect sends an alert within 24 hours that names the old URL.
- After the 301 is added, the next run sends no alert.
- Adding noindex to a test page that's in the sitemap sends an alert.
- Editing robots.txt sends an alert with the diff.
- If the job itself fails, it posts an alert.
Edge cases:
- Pages deleted on purpose: give marketing an "intended 404" ignore list.
- CMS items moved to Draft disappear from the sitemap. They trigger the same alert, which is correct.
- Limit the requests (1–2 per second), and run outside business hours.
DOCS-07: One URL per docs page (HTTPS, one host, lowercase, one trailing-slash style)
Priority: P2 · Conditional: build it if the host or URL-variant tests fail
Problem: the docs app may serve the same page at many URLs: http://, the hosting platform's default domain, /Getting-Started and /getting-started/.
Why it matters for SEO: each variant is a duplicate page to Google, which splits link value and can surface the wrong URL. Canonical tags (DOCS-05) help, but redirects are a stronger signal and also fix what users see.
Expected behavior: every redirect is a single-hop 301, and the query string is kept.
| Request | Response |
|---|---|
http://docs.example.net/x | 301 → https://docs.example.net/x |
https://<project>.netlify.app/x (or vercel.app, cloudfront.net) | 301 → https://docs.example.net/x, or X-Robots-Tag: noindex if the platform can't redirect |
/Getting-Started | 301 → /getting-started |
/getting-started/ | 301 → /getting-started (if we choose no trailing slash) |
/getting-started/index.html | 301 → /getting-started |
http://docs.example.net/Getting-Started/ | one 301 → https://docs.example.net/getting-started (no chain) |
- Pick one trailing-slash style and use it everywhere. I suggest no trailing slash, to match the Webflow site (guess: check Webflow's URLs). Canonicals, the sitemap and internal links must all use the same style.
- Once everything works on HTTPS, add the header
Strict-Transport-Security: max-age=31536000. - How: use host settings (for example
trailingSlashinvercel.jsonornext.config.js), or an edge function (CloudFront Function, Cloudflare Worker) for the lowercase rule and the combined rules.
Acceptance tests:
-
curl -sIon each row of the table gives the expected status andLocation. -
curl -sILon the worst case (http + uppercase + trailing slash) shows exactly one redirect. - A crawl finds 0 internal links that point to non-canonical variants.
Edge cases:
- Apply the lowercase rule only to page paths. File names in
/assets/(such asApp.4F2a.js) may be case-sensitive. - Don't redirect
/robots.txtor/sitemap.xml. - Skip lowercasing for non-ASCII URL paths unless you've tested them.
DOCS-08: Per-page meta robots control in the docs (+ noindex on preview hosts)
Priority: P2 · Conditional: build it if the docs meta robots test fails · Depends on: DOCS-01
Problem: there's probably no way to keep a single docs page out of Google (for example, deprecated pages or internal test pages), and preview deploys may be indexable.
Why it matters for SEO: without per-page control, the only options are deleting a page or blocking it in robots.txt, and blocking doesn't remove a page from Google. Indexed preview deploys are full duplicate copies of the docs.
Expected behavior:
- A front matter field
robots:accepts onlynoindex,nofollowornoindex, nofollow. By default there's no tag, which means index, follow. - The value is output as
<meta name="robots" content="...">in the server HTML. JavaScript never adds or removes it: if the raw HTML says noindex, Google may never run the JavaScript, so JavaScript can't undo it. - noindex pages are left out of the sitemap automatically (DOCS-04).
- Every non-production deploy (preview URLs, staging) sends
X-Robots-Tag: noindexon every response. Production never sends it. Decide this from an explicit environment variable (such asDEPLOY_ENV=production), not by guessing from the hostname. - Non-HTML files that shouldn't be indexed, such as internal PDFs, get
X-Robots-Tag: noindexthrough host header rules. - CI posts a PR comment when a page gains or loses noindex, for example: "This PR hides /x from Google. Intended?"
Acceptance tests:
- A test page with
robots: noindexshows the tag in view-source and isn't in the sitemap. - An invalid value (
robots: no-index) makes the build fail. -
curl -sIon a preview URL showsX-Robots-Tag: noindex, and on production it doesn't. - In a crawl, the list of noindex pages matches the front matter list exactly.
Edge cases:
- Never block noindex pages in robots.txt.
- noindex combined with a canonical to another URL sends mixed signals. The build should warn about it.
- A post-deploy smoke test fails if any production page from a sample of 10 has noindex.
DOCS-09: Serve a real, editable robots.txt on the docs host
Priority: P2 · Conditional: build it if the docs robots.txt test fails
Problem: docs.example.net/robots.txt may not exist, or it may return the app's HTML because of the catch-all rule.
Why it matters for SEO: robots.txt is the first file crawlers read. If it's missing, everything is allowed, but you can't point crawlers to the sitemap. If it returns HTML, you have no working rules. And if a staging Disallow: / reaches production, the whole docs site drops out of Google.
Expected behavior:
- A
robots.txtfile lives in the repo and is served athttps://docs.example.net/robots.txtwith status200andContent-Type: text/plain. - Starting content for production:
(User-agent: * Disallow: /search Sitemap: https://docs.example.net/sitemap.xml/searchis a guess for your internal search results path. Change it or remove it.) - It never blocks JS, CSS, images or the API endpoints that pages need to render.
- Preview and staging deploys rely on
X-Robots-Tag: noindex(DOCS-08). Never commitDisallow: /as a default. - CODEOWNERS on the file: every change needs review from the docs lead.
- A post-deploy smoke test fails if the production robots.txt contains a bare
Disallow: /.
Acceptance tests:
-
curl -sIshows200andtext/plain. - Search Console → Settings → robots.txt shows the file was fetched successfully.
- A test deploy with
Disallow: /is caught by the smoke test.
Edge cases:
- Rules for AI crawlers (GPTBot, ClaudeBot and others) are a business decision. Most B2B companies allow them on public docs so the docs get cited. Decide and write the decision down.
- Keep the file under 500 KB, which is Google's limit.
4. Safeguards so editors can't break things
Webflow (marketing, no code)
| Risk | Safeguard |
|---|---|
| Missing or duplicate titles on CMS pages | Add "SEO title" and "Meta description" Plain text fields to each Collection, mark them Required, and set maximum lengths (60 and 160). Bind the template's SEO and OG settings to these fields. An item can't be published with them empty. |
| Static pages with no custom title | Webflow can fall back to the page name. Put "SEO settings filled in?" on the publish checklist; WEB-02 flags duplicates. |
| Accidental noindex | Webflow has no warning before noindex. Set a rule that only pages under /thank-you/ may be noindex, and let WEB-02 alert you when any other page becomes noindex. |
| Slug change without a redirect | Add a publish checklist line: "Changed a slug? Add the 301 in Site settings → 301 redirects before publishing." Use pattern redirects for folder moves (Webflow supports (.*) with %1). WEB-02 catches anything missed within 24 hours. |
| robots.txt, global canonical, redirect list or domain settings changed | Limit Site settings access to 1–2 people. Everyone else uses content-editing roles only. |
| New campaign pages missing noindex | Build one "thank-you page" master with the noindex set. Marketing duplicates it for each new campaign, and then checks view-source once. |
| Staging gets indexed | Keep "Disable Webflow subdomain indexing" turned on. |
Docs app (developers)
- Front matter schema check in CI:
titleis required, description length is checked,canonicalmust be an absolute live URL, androbotsonly accepts the allowed values. - URL removal check (DOCS-03): the build fails if a URL disappears without a redirect or a
removedentry. - PR comment bot for SEO-sensitive changes: noindex added, canonical changed, URL changed, robots.txt changed, host rewrite rules changed.
- Internal link checker in CI.
- Post-deploy smoke test: 10 sample URLs each return 200 with one canonical, a unique title and no noindex; one made-up URL returns 404; robots.txt has no bare
Disallow: /; and the sitemap URL count is within ±10% of the last deploy. - CODEOWNERS on
robots.txt, the redirects file, the SEO head component and the hosting config.
5. Where your CMS can't do it by default: plugin, app or code options
| Need | Webflow | Docs React app |
|---|---|---|
| Content in the server HTML | Built in (static HTML). Avoid script-loaded main content. | React Router v7 prerender, Vike, Next.js static export, Docusaurus or Astro Starlight. Stopgap: Prerender.io. |
| XML sitemap | Built in (auto-generated), with a per-page "Sitemap indexing" toggle. | A build script (about 50 lines) driven by the route list, or next-sitemap, the Docusaurus sitemap plugin or @astrojs/sitemap. |
| Hreflang (if you add languages) | Webflow Localization (paid add-on) creates locale URLs and hreflang. Check the output in view-source. | Add alternates to the page data and output <link rel="alternate" hreflang> and/or sitemap entries. |
| robots.txt | Built in (Site settings → SEO). | A static file in the repo (DOCS-09). |
| Canonical | Global canonical setting, plus a per-page field if your Page settings show one. | The head component (DOCS-05). react-helmet-async only helps SEO when it's combined with SSR or prerendering. |
| Meta robots | "Sitemap indexing" toggle or page custom code. For CMS pages, a field plus template custom code (WEB-01). | Front matter + head component, plus X-Robots-Tag from host header rules (DOCS-08). |
| Correct error status codes | 404 is built in. There's no 410, but 404 is fine. | Host config (404.html) or an edge function (DOCS-02). |
| One host, HTTPS | Built in (default domain + SSL). | Host settings or an edge function (DOCS-07). |
| Trailing slash and lowercase rules | No custom routing rules: rely on the canonical and the 301 list. Full control needs a reverse proxy (for example a Cloudflare Worker) in front of Webflow. That's an advanced setup, so only do it if the tests show a real problem. | Host settings (trailingSlash) or an edge function (DOCS-07). |
| Automatic redirect on URL change | Needs test. If it isn't built in, use the WEB-02 monitor plus the publish checklist. | A redirects file + CI check (DOCS-03), served through Netlify _redirects, vercel.json redirects, CloudFront Functions or Cloudflare Bulk Redirects. |
| Required SEO fields | CMS field "Required" + character limits. | Front matter schema validation in CI (for example JSON Schema or Zod). |
6. CMS SEO requirements checklist (for vendor selection)
Ask the vendor to show each item live on a trial site. Treat "it's on the roadmap" or "use a plugin" as a No until you've tested that plugin yourself. If the new CMS will also run the docs, every item applies to both sites.
Rendering and HTML
- All main content, headings and links are in the HTML the server sends, and the page works with JavaScript turned off. Proof: view-source of a demo page shows the full text.
- Templates output semantic HTML: one editable H1, heading levels chosen by meaning,
<main>,<nav>,<header>,<footer>and<article>. Links are<a href>and buttons are<button>. - Image alt text is editable, with a warning or a required field when it's empty.
- Default templates pass Core Web Vitals. Ask for real customer sites to check.
Crawl control
- The XML sitemap is generated automatically and updated on publish. It includes only indexable, 200, self-canonical URLs with accurate
lastmod, and it splits into a sitemap index above 50,000 URLs. - Pages and templates can be excluded from the sitemap individually.
- Hreflang for multi-language sites, generated automatically from linked translations, with reciprocal links and
x-default, in the page head and/or the sitemap. - robots.txt is editable in the admin by permitted roles only, with change history.
- Staging and preview environments are noindex by default and can't be indexed by accident.
Indexing signals
- Every page gets a self-referencing, absolute canonical by default, with a per-page override field that validates the URL.
- Meta robots (index/noindex, follow/nofollow) can be set per page and per template, with a confirmation step before noindex and a report that lists every noindex page.
-
X-Robots-Tagheader control for files such as PDFs. - Title, meta description, Open Graph and Twitter tags are editable per page and per template, with field-based defaults, required fields and character counters.
- Structured data (JSON-LD) per template, such as Organization, Article, BreadcrumbList and SoftwareApplication.
Status codes and URLs
- A custom 404 page that returns a real 404 status, an option to return 410 for removed content, and no soft 404s. Proof:
curl -sIon a made-up URL returns 404. - One host only: HTTPS, your choice of www or non-www, every variant 301s in a single hop, and an HSTS option.
- Trailing-slash and lowercase normalization with 301s, with a setting for which style to use.
- Editable slugs and folder structure for pages and collections (for example
/blog/and/customers/). - An automatic 301 when a slug or parent folder changes, with chain flattening.
- Deleting a page asks for a redirect target.
- Bulk import and export of redirects (CSV) and pattern/regex redirects, with a stated redirect limit (ask for at least 5,000).
Governance and operations
- Role-based permissions: only chosen roles can change SEO settings, robots.txt and redirects.
- Version history or an audit log for page settings, robots.txt and redirects.
- Bulk editing of SEO fields (CSV or API).
- Full API access to content, SEO fields and redirects, for CI checks and monitoring.
- Docs support (if it replaces the docs app too): Markdown/MDX, versioning with canonical control, code tab content in the HTML, and built-in search that doesn't create indexable results pages.
- A full export of content and URLs, so you're not locked in.
Next step: run the "Needs test" checks in the audit table, starting with the docs rows for controls 7, 9, 10 and 11, and send me the results. I'll update the statuses and drop any conditional tickets you don't need.
Lines like “check: pass” or “fixed” are the model talking to itself. The prompt tells it to review its own work before answering; that review is part of the output.
The prompt
First lines open so you can see how it is built. The rest opens after purchase.
#ROLE You are a technical SEO lead who has worked with many CMS platforms and dev teams. Audit my CMS for basic SEO controls and turn every gap into a developer-ready ticket. #INPUTS Fill in every line. Leave a line blank if you don't know it. - Website: [WEBSITE URL] - CMS: [e.g., WordPress, Webflow, Shopify, Drupal, headless CMS + Next.js, custom] - Site type and size: [e.g., ecommerce, 20,000 pages]
How to use it
- Buy, then open it in your account.
- Copy the prompt into ChatGPT, Claude or Gemini.
- Replace the 6 inputs with your product.
- Run it. Use the output. Re-run with a different tone if you like.
Pro tips
- Split your site by system if you have more than one. Each CMS gets its own gaps and tickets.
- Hand the tickets to your developers as they are. They're written for people with no SEO background.
- Use the vendor checklist when you choose your next CMS. It saves a year of tickets.
Before you buy
- Will it work for my product?
- Yes, if you can fill the 6 inputs. If the output is bad with your inputs, email us: we fix the prompt and refund you.
- Do I download a file?
- No. It lives in your account with a copy button, and updates when we improve it.
- Which model is best?
- Best on Claude. Works in ChatGPT, Claude and Gemini.
Works well with this
Prompts people use in the same campaign.
More in Ecommerce, CMS & JavaScript
Buying more than two? Lifetime is cheaper.
Every prompt, every category, forever. $59 once. Nothing to download, nothing to renew.
This prompt
$3$7
- ✓ Instant access in your account, with a copy button
- ✓ Example input and real output included
- ✓ 7-day money-back, no form
Or get every prompt, forever
Lifetime Access · $59 $149 — all categories, all future prompts, rewrites included.
Get lifetime accessCard or PayPal · taxes at checkout · nothing to download
Not the one you need?
Browse every prompt by category and sub-category.