Skip to content

Experiment: trailing-slash canonical on 20 top docs pages (+ canonical base fix)#422

Merged
Dgiordano33 merged 2 commits into
mainfrom
docs/canonical-slash-experiment
Jul 6, 2026
Merged

Experiment: trailing-slash canonical on 20 top docs pages (+ canonical base fix)#422
Dgiordano33 merged 2 commits into
mainfrom
docs/canonical-slash-experiment

Conversation

@Dgiordano33

Copy link
Copy Markdown
Collaborator

Trailing-slash canonical experiment (20 pages) + canonical base fix

A/B-style test: give the 20 top docs pages an explicit trailing-slash canonical and leave everything else on the auto-generated no-slash canonical as a control. Evaluate in ~3 weeks (~2026-07-27).

Baseline fix (commit 1) — supersedes #421

  • docs.json seo.metatags.canonicalhttps://www.checklyhq.com/docs (the bare origin was dropping the /docs mount, emitting checklyhq.com/detect/overview).
  • Removed the temporary probe canonical from cli/overview.mdx so it rejoins the control.
  • Result: every non-experiment page emits www + /docs + no-slash — the control baseline.

The experiment (commit 2)

20 pages get a per-page canonical: equal to their own served URL (www + /docs + trailing slash). Chosen by keyword coverage (organic traffic is ~0 across docs, so keywords is the best "importance" proxy):

# Page
1 learn/monitoring/tcp-and-ssl
2 detect/uptime-monitoring/tcp-monitors/overview
3 learn/playwright/what-is-playwright
4 learn/monitoring/what-is-tcp
5 learn/monitoring/web-application-monitoring
6 learn/playwright/waits-and-timeouts
7 learn/incidents/slo-sla-sli
8 comparisons/frameworks/playwright-vs-cypress
9 learn/monitoring/api-monitoring
10 detect/synthetic-monitoring/api-checks/overview
11 integrations/alerts/telegram
12 guides/end-to-end-monitoring
13 learn/playwright/emulating-mobile-devices
14 guides/auto-waiting-methods
15 learn/monitoring/frontend-monitoring
16 learn/kubernetes/structured-logging
17 learn/monitoring/metrics-every-team-needs
18 learn/monitoring/https-for-app-developers
19 learn/kubernetes/monitoring-challenges
20 learn/playwright/codegen

How to evaluate (~2026-07-27)

Primary signal is how Google canonicalizes/indexes the test pages, not traffic (docs traffic is tiny):

  • GSC → Page indexing / URL Inspection: for the 20, does Google now report "User-declared canonical" = the trailing-slash URL and index it cleanly? Does the "non-canonical page receives organic traffic" / duplicate signal clear vs. the control?
  • Impressions / clicks / position trend for the 20 vs. control (directional only).
  • Ahrefs re-crawl: do the 20 stop showing the canonical-to-redirect flag?

If the trailing-slash pages behave better (or the same with cleaner signals), roll out per-page canonicals more broadly; if no difference, the docs.json no-slash baseline stands on its own and we skip the per-page maintenance.

Verified: docs.json valid, all 20 frontmatter blocks parse, mint broken-links clean.

🤖 Generated with Claude Code

Dgiordano33 and others added 2 commits July 6, 2026 14:40
- seo.metatags.canonical -> https://www.checklyhq.com/docs so Mintlify's
  auto-generated canonicals keep the /docs mount (bare origin dropped it).
  Supersedes #421.
- Remove the temporary trailing-slash canonical from cli/overview.mdx so
  it rejoins the control group.

This makes every non-experiment page emit www + /docs + no-slash — the
control baseline for the trailing-slash canonical experiment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add an explicit per-page `canonical:` (full www + /docs + trailing-slash
URL, matching the served/indexed URL) to the 20 highest-keyword-coverage
docs pages. The rest of the site keeps the auto-generated no-slash
canonical as the control group.

Goal: over ~3 weeks, see whether byte-exact trailing-slash canonicals
change how Google canonicalizes/indexes these pages vs. the no-slash
canonical (which 308s to the served slash URL). Evaluate ~2026-07-27.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
checkly-422f444a 🟢 Ready View Preview Jul 6, 2026, 7:19 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@Dgiordano33 Dgiordano33 merged commit 73fb48a into main Jul 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant