Glossary
Canonical URL
A canonical URL is declared using a <link rel="canonical"> tag in the <head> of a page, or via an HTTP header. It tells search engines: "If you find this content at multiple addresses, treat this one as the authoritative version." Search engines use this signal to consolidate indexing and ranking signals to a single URL rather than splitting them across duplicates.
Duplicate content situations are more common than you might expect. A single page might be reachable with and without a trailing slash, via both HTTP and HTTPS, with different query strings, or through paginated URLs. Without canonical tags, search engines have to make a guess about which version to index, and they don’t always guess correctly.
Where This Comes Up in WordPress
WordPress generates canonical tags automatically, and plugins like Yoast SEO and Rank Math extend that with more configuration options. WordPress sites can accumulate canonical issues over time — especially sites that have been around for years — because permalink settings change, pages get duplicated, or plugins add query parameters to URLs. A site audit before migration is a good way to catch existing canonical problems before you carry them into a new CMS. See WordPress Site Audit for details.
Canonicals in Statamic
Statamic doesn’t output canonical tags by default, but it’s simple enough to add them in your layout template. If you’re using an SEO addon (several exist for Statamic), it will handle canonical generation for you and often let you override the canonical URL per entry.
One pattern worth watching during migration: if your old WordPress site is still live while your new Statamic site is being built or tested, search engines may index the new staging URLs before you’re ready. Setting canonical tags on your staging environment to point back to the production WordPress URLs prevents that from becoming a problem.
When you do go live with Statamic, make sure your canonical URLs match your preferred URL format — including whether you use a trailing slash, www vs. non-www, and your exact domain. Consistency here reinforces the signal you’re sending through 301 redirects and your XML sitemap.
For more on preserving SEO during migration, see Will I lose my SEO rankings when migrating from WordPress?.