Add canonical tags to every page
You will syndicate to Medium and Dev.to in Phase 2. Canonicals are what stop that hurting.
Step 1.3.1.4
Time: 30m
If this is a change to your product
- What must become true
- Every indexable page declares a self-referential canonical at its absolute, final URL — the one after any redirect or trailing-slash normalisation.
- Where it usually lives
- The shared metadata layer, derived from the route rather than hand-written per page.
- The trap
- Hand-written canonicals drift the moment a route moves, and a canonical pointing at a redirecting URL is worse than none: it tells the engine to index a page that is not there.