Start with what should happen when someone opens the old URL. If everybody should land on its replacement, send a permanent redirect. If equivalent pages still serve a purpose at their own URLs, use a canonical to identify the preferred copy. A page with a distinct purpose can stand on its own.
Choose the behaviour before editing the tag
| Situation | Use | Expected response |
|---|---|---|
| Permanent move | 301 to the replacement | 301 → 200 |
| Accessible duplicate | Canonical to the preferred copy | 200 on both URLs |
| Standalone variant | Self-referencing canonical | 200 on each URL |
Suppose a help article moves from /help/old-setup/ to /help/setup/. The first URL should return 301 with Location pointing straight to the second. The second should return 200 and declare itself canonical. Point your navigation and sitemap straight to the replacement.
Now take /chairs/?sort=price. Shoppers can keep their sort order, so the URL still returns 200. If the underlying list is equivalent, point its canonical at the clean category. A separate /office-chairs/ page with its own selection and information may warrant a self-canonical instead.
Check the chain and the source
Open the browser’s Network panel, disable caching and request the old URL. Read the initial status and Location, then check the final response. View the HTML source and find the canonical in the head. The canonical tag generator builds the element. Check the live page for one absolute canonical URL and confirm that the target is accessible and indexable.
Canonical annotations express a preference. Keep them consistent with your internal links and sitemap. Give each genuine translation its own same-language canonical.
