Checks · js

Canonical Mismatch (Rendered vs Raw)

Error js.canonical_mismatch

What it means

JavaScript changed the canonical URL after load. Google may index using either value; the two must agree.

How to fix it

Emit the correct canonical in the server-rendered HTML and stop rewriting it client-side.

Where to find it in Truelint

Open the Issues pane on the right of the workspace and select Canonical Mismatch (Rendered vs Raw). The grid filters to every affected URL and the detail pane shows the specific finding for each. Export the list with Export → Current view, or from the API:

GET /api/v1/crawls/{handle}/issues/js.canonical_mismatch