SEO-023
Canonical URL is broken or redirects
HighDefault severity · SEO / Quality · SEO, quality and performance
Last reviewed
What it checks
Requests the page’s same-site canonical URL (when it differs from the page itself).
Why it matters
A canonical that points at a missing or redirecting page tells search engines to index something that does not exist.
Recommended fix
Point the canonical at the final, working URL of this page.
How to verify
Request the canonical URL and confirm a direct 200.
Example fix prompt
Generic prompt (your report adds the evidence)
Please fix this production issue in my app.
Issue SEO-023: Canonical URL is broken or redirects
Site: https://your-app.example
First confirm the issue in the code or live config. If it is not present, say so and change nothing.
Task: Fix the canonical URL in the evidence so it points at this page’s final URL, which returns 200 without redirecting.
Constraints: make the smallest change that fixes this, keep the current design and behaviour, never paste secret values into code or chat, and tell me which files you changed.
Done when: Request the canonical URL and confirm a direct 200.