Canonical tags as of 8.30.0
Canonical tags in zCMS
Canonical tags are used to tell search engines which version of a page should be considered the authoritative main version. As a result, duplicate content is correctly merged and ranking signals are focussed on the correct URL.
In zCMS, canonical settings can be defined per content and per language.
This means that each language version of a page may require its own canonical.
When do I need a canonical?
A canonical is always set if the content of this page is not the "original version".
Typical examples:
- A page has been copied or reused for several areas.
- The same text appears again elsewhere.
- There are external references to an identical page.
- A page should deliberately refer to another URL (e.g. archive or campaign pages).
If the page is the original content, no canonical needs to be entered. In this case, the zCMS automatically generates a self-referential canonical.
Where can I find the canonical settings?
The settings can be found in the page editor under
"More options for this content" → "Canonical" section
The following fields are available there:
"Is this page duplicate content?"
Here you can specify whether the current page is a copy or variant of other content.
- No
The page is the original.
The zCMS automatically creates a self-referential canonical. - Yes
The page is a duplicate and should refer to another page.
In this case, an ID or URL must be entered in the next field.
"Object ID Canonical"
Here you specify which page is the original. There are two possibilities:
A) Canonical to an internal page
Enter the object ID of the original page.
Example:
1234
The zCMS automatically converts the ID into the appropriate full URL.
B) Canonical to an external page
If the original page does not exist in zCMS, enter the full URL.
Example:
https://www.externedomain.com/beispielseite/
This URL is used unchanged as the canonical.
How the zCMS processes the canonicals
The system automatically generates the correct HTML entry in:
If no duplicate:
The page shows a canonical to itself:
<link rel="canonical" href="URL-of-the-current-page" />
If "duplicate content = Yes" and an ID has been entered:
The canonical refers to the original URL loaded by ID:
<link rel="canonical" href="URL-of-original-page" />
If a complete external URL was entered:
<link rel="canonical" href="https://www.externedomain.com/..." />
Important notes
- Canonicals are language-dependent.
Each language version can have its own canonical settings. - A canonical does not replace a redirect.
If a page is no longer used, a 301 redirect should also be set. - Avoid cross-domain canonicals.
DE pages should refer to DE, EN to EN, etc. - Only fill in if there really is a copy.
Incorrectly set canonicals can displace content from the index.