Guide
Canonical links on multilingual websites
A canonical link names the original address of a page. On a multilingual website, every language version is its own original.
A canonical link is a tag in the <head> of a page: <link rel="canonical" href="…">. It tells search engines such as Google which address is the original when the same content can be reached at several addresses, for example with and without parameters. Search engines treat it as a strong signal, not as a command.
On a multilingual website, every language version is its own original: the German page should name itself, not the English one. Google recommends that the canonical page be in the same language as the page. This guide covers the four findings in a scan report about canonical links.
Canonical link points to a page that is not reachable
Finding in the report: CANONICAL_TARGET_NON_200
What it means
The canonical link names an address that does not answer with a page: it answers with an error such as 404 (not found) or 500 (server error), or it does not answer at all.
Search engines are told that the original is a page they cannot load. They may then ignore the canonical link and choose an address themselves.
The finding in the scan report names the address in the canonical link and the HTTP status code or the error.
Typical causes
- The canonical address was entered by hand and the page it names was later deleted or moved.
- The website moved, for example to https or to a new domain, and the canonical links still use the old addresses.
- A plugin builds the canonical address from an outdated website address in the settings.
- A temporary server problem.
How to check
- Open the page from the finding, view its source code and look for
rel="canonical". - Open the address from the canonical link in your browser.
- Find out where the canonical link comes from: usually from the SEO plugin, sometimes from the theme or the CMS itself.
How to fix
- In most cases the canonical link should simply name the page itself. Remove an address entered by hand, so that the plugin sets the page's own address again.
- If the content really has another original, point the canonical link at that page's current, reachable address.
How to confirm the fix
- Check the canonical link in the page source again.
- Scan again: the finding disappears from the report once the canonical address answers successfully.
Canonical link points to another language
Finding in the report: CANONICAL_DIFFERENT_LANGUAGE
What it means
The canonical link of this page names a page in another language. For example, the German page names the English page as its original.
This tells search engines to treat this language version as a copy of the other one. The language version may then not appear in search results. Google recommends a canonical page in the same language.
The scanner takes the languages from the hreflang tags and the lang attribute, and only reports the finding when both languages are known. The finding in the scan report names both languages and the address in the canonical link.
Typical causes
- The translation was created as a copy of the original page, and a canonical address entered by hand was copied with it.
- A plugin is set up to use the address of the original language as the canonical address of all translations.
- A theme or plugin builds the canonical link without taking the language into account.
How to check
- Open the page from the finding and look for
rel="canonical"in the page source. - Check the SEO settings of the translated page, for example the advanced settings of the SEO plugin, for a canonical address entered by hand.
How to fix
- Let every language version name itself as its canonical address. Remove an address entered by hand in the translation.
- If the page really is only a copy and should not appear in search results, a canonical link to the original is fine, but then also remove the page from the set of hreflang tags, so that the two signals do not contradict each other.
<!-- on https://example.com/de/ -->
<link rel="canonical" href="https://example.com/de/">
<link rel="alternate" hreflang="de" href="https://example.com/de/">
<link rel="alternate" hreflang="en" href="https://example.com/en/">
How to confirm the fix
- Check the canonical link in the page source.
- Scan again: the finding disappears from the report once the canonical link names a page in the same language.
Canonical link points to a redirect
Finding in the report: CANONICAL_REDIRECT
What it means
The canonical link names an address that redirects to another one, for example from http to https or from an old address to a new one.
The scanner reports this as a warning: the original is reachable, but the canonical link should name its final address directly, as a full address including https://, which is what Google recommends.
The finding in the scan report names the address in the canonical link and the final address.
Typical causes
- http instead of https, or the address with or without www.
- A missing or extra slash at the end. For search engines,
/pricingand/pricing/are two different addresses; usually the server redirects one to the other. - An old address after a slug or the site structure was changed.
How to check
- Compare the address in the canonical link with the final address from the finding.
- Check the website address in the settings of WordPress or your CMS: plugins build the canonical address from it.
How to fix
- Set the canonical link to the final address. With an SEO plugin, correct the website address in the settings or remove an address entered by hand.
How to confirm the fix
- Open the address from the canonical link: it should not redirect.
- Scan again: the finding disappears from the report once the canonical link names the final address.
No canonical link
Finding in the report: CANONICAL_MISSING
What it means
The page has no canonical link. That is not an error on its own: Google does not require one, and chooses the original itself when none is given.
The scanner reports it as a warning, because a canonical link that names the page itself makes things clearer, especially when the same content can be reached at several addresses. Google recommends such a self-referencing canonical link.
Typical causes
- The website or theme does not output canonical links, and no SEO plugin does it either.
- The SEO plugin leaves out the canonical link on certain pages, for example on pages that are set to noindex.
How to check
- Look for
rel="canonical"in the page source. - Check whether the page should be indexed at all: a page set to noindex often has no canonical link on purpose.
How to fix
- If you want to name the original explicitly, add a canonical link that names the page itself. In WordPress, an SEO plugin usually does this automatically.
- If the page is deliberately not indexed, nothing has to be done.
How to confirm the fix
- Check the page source for the canonical link.
- Scan again: the finding disappears from the report once the page has a canonical link.
Setup in WordPress, Shopify & co.
WordPress + Yoast SEO
Yoast SEO adds to every post and page a canonical link that names the page itself. An address entered by hand in the field “Canonical URL” on the Advanced tab of the Yoast SEO sidebar overrides it. Check this field in translations that were created as copies of the original. Yoast requires the full address there, including https:// and www or not.
Yoast SEO does not output a canonical link on pages that are set to noindex.
Sources: Yoast: canonical URLs in Yoast SEO (external link) · Yoast: canonical URL tags (external link)
Shopify
Shopify sets a canonical link for each market version that names that version itself, so that every version counts as a page of its own and not as a duplicate.
Sources: Shopify Help: SEO for international markets (external link)
A website with its own code, or a simple site without a database
Output a canonical link with the page's own full address on every page, built by the same function as the addresses in the hreflang tags.
Never set the canonical link of a translation to the version in the original language.