SEO-013
Site is served on both www and non-www
MediumDefault severity · SEO / Quality · SEO, quality and performance
Last reviewed
What it checks
Requests the other hostname (with or without www) and checks it redirects to the main one or declares a canonical URL.
Why it matters
Search engines see two copies of every page and split ranking signals between them.
Recommended fix
Redirect the other hostname to the main one with a 301.
How to verify
Request the alternate hostname and confirm a 301/308 to the main one.
Example fix prompt
Generic prompt (your report adds the evidence)
Please fix this production issue in my app.
Issue SEO-013: Site is served on both www and non-www
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: Add a permanent (301/308) redirect from the alternate hostname in the evidence to the main hostname, keeping the path and query.
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 alternate hostname and confirm a 301/308 to the main one.