Back to blog

Canonical Tags: Correct Settings for Parameters, Pagination, and Languages

Shusaku Yosa

canonicalタグとは?正しい設定方法・重複コンテンツ対策を解説

A canonical tag tells search engines which URL you prefer as the representative of duplicate or similar pages. Google treats it as a strong signal, not a directive that it must obey. Choose a sensible representative and keep canonical declarations, redirects, internal links, and sitemap entries consistent.

Blanket rules such as “remove every parameter,” “point page two to page one,” or “canonicalize every translation to English” can consolidate genuinely different content. Start with the page's meaning. The URL parameters guide explains tracking and content-changing parameters; the SEO fundamentals guide provides broader context.

Canonical signals, redirects, and noindex do different jobs

Google's duplicate-URL consolidation guidance describes redirects and rel=canonical as strong signals, while sitemap inclusion is weaker. These approaches can work together when they identify the same preferred URL. Conflicting preferences make the intended outcome harder to understand.

Method

Purpose

Important distinction

Canonical declaration

Identify a preferred duplicate or similar page

Does not send the browser to another URL

Permanent redirect

Move visitors and crawlers to a new address

Use a relevant destination for an actual move

Noindex

Keep a page out of search results

Not a substitute for choosing a canonical representative

Robots.txt

Control crawler fetching

A blocked crawler may not read an on-page canonical declaration

Sitemap

Help discovery of public canonical URLs

Does not guarantee indexing or canonical selection

For a move, consult the 301 and 302 redirect guide. Avoid mixing noindex with a canonical declaration as a way to force selection of another page. Protect confidential information with authentication and access control, not search directives.

Choose according to content, not the presence of a parameter

Situation

Starting decision

Verification

Only campaign parameters differ

Prefer the underlying equivalent content URL

Check content, destination, declaration, and links

Filters or search change the content

Decide whether the result deserves independent indexing

Review useful content, demand, duplication, and publishing intent

Page two and subsequent listing pages

Use each page’s own canonical URL

Do not treat different items as duplicates of page one

Translated language versions

Use appropriate self-canonicals and hreflang

Do not consolidate all languages into one

Content permanently moved

Consider a permanent redirect

Confirm the new public destination

Syndicated content on another publisher

Agree on publication and indexing policy

Do not assume a cross-site canonical resolves everything

Google's pagination guidance recommends unique URLs and warns against canonicalizing every page in a sequence to its first page. Translations also need their own treatment: matching topics in different languages are not simply same-language duplicates. Use hreflang for appropriate language relationships without contradicting canonical preferences.

A fictional campaign and catalog example

An email and a social post link to the same article with different UTM values. The article's main content is unchanged, so its underlying address can be the preferred representative. Campaign measurement remains a separate check. By contrast, the second page of an article listing contains another set of articles and should not automatically point its canonical to page one.

Filters require an additional decision. A sort-order variation and a useful collection page with original explanatory content are not necessarily equivalent. Having a query string does not, by itself, decide whether a URL should be indexed separately.

Implement one coherent declaration

In HTML, the declaration is a link element in the head, with canonical as the relationship and the preferred URL as its destination. For example, <link rel="canonical" href="https://example.com/en/article"> names an example preferred address. The example domain must be replaced with the real canonical URL in an implementation. Record the source URL, preferred URL, and component responsible for generating the declaration. A CMS, plugin, and template can otherwise produce competing values.

If an existing self-canonical must change, replace the appropriate output instead of appending a second preference. Relative URLs are supported, but absolute URLs make operational checks easier and reduce ambiguity from base URLs or environment differences. A relative address is not automatically invalid.

Canonical declarations can also be delivered in HTTP response headers, including for non-HTML files such as PDFs. Using both headers and HTML is possible but increases the chance of contradictions; choosing one managed method is usually easier. A header on a non-HTML resource does not guarantee identical handling across every search feature.

  • Check that the destination is the intended public page and delivers the required content successfully.
  • Confirm that the source and destination have genuinely duplicate or similar primary content.
  • Avoid mistakenly naming a removed, private, noindex, or redirecting destination.
  • Compare declarations from the HTML, headers, CMS, and plugins.
  • Align internal links and XML sitemap entries with the preferred address.
  • Test language, pagination, and filter cases rather than trusting a universal rule.

Self-reference is not a canonical loop

A page identifying itself as canonical is a normal self-reference. Do not remove it merely because the destination matches the source. A conflicting cycle, such as page A selecting B while B selects A, is different. Long or contradictory chains also make maintenance and verification harder.

Environment mistakes deserve attention. A production template can accidentally reference a staging hostname, use an unintended protocol, or disagree with the site's trailing-slash policy. Check the generated response after publication as well as the configuration value before release. A template setting alone does not prove what a crawler receives.

Compare the declared and Google-selected canonical

Search Console URL inspection distinguishes the user-declared canonical from the Google-selected canonical. If they differ, investigate equivalent content, internal links, redirects, sitemap entries, crawl access, and the last crawl date. The inspection describes information Google has processed; it is not a promise about a future decision or an immediate reflection of a recent edit.

Google's canonicalization troubleshooting guidance also covers erroneous declarations and compromised content. For syndicated articles, a canonical declaration is not Google's universal recommended solution. Where appropriate, discuss indexing controls with the publishing partner instead of relying entirely on a cross-site preference.

A sitemap reference in inspection is not direct evidence of current XML contents. Follow the sitemap verification workflow to separate today's file, Google's last retrieval, and an individual URL's indexing state. Missing performance rows do not establish that canonicalization is broken.

An investigation sequence when values disagree

First confirm that you are checking the intended production URL. Inspect the delivered head and response headers, counting declarations and recording their destinations. Then look for equivalent content on another address or hostname and check whether internal links favor it. Finally, compare the live observations with Google's last crawl and selected URL. Repeatedly changing the preference without a record makes the result harder to interpret.

In a fictional case, the CMS names the new address but delivered HTML still names the old one. Investigate generation or delivery first. If live declarations agree and inspection predates the repair, record the current implementation and Google's older information separately rather than diagnosing a rejection.

Keep a change record and follow up

Record each source URL, intended representative, actual HTML or header declaration, Google-selected canonical, check date, last crawl, and owner. After changing a declaration, inspect internal links and sitemap entries and confirm that another component has not overwritten the preference.

A useful acceptance record states what was changed and what remains uncertain. For example, a fictional release may verify a consistent live declaration today while Google's selected canonical still reflects an older crawl. Those are compatible observations. Wait for relevant processing before treating the old result as proof that the new configuration failed.

Canonicalization improves consistency; it does not guarantee higher rankings or complete transfer of previous evaluations. If the work also removes pages, use the 404, restoration, and removal guide to make those decisions separately. Each URL should have a clear publishing purpose and an appropriate response.

Back to blog