Google AMP canonical URL (BETA)
Because an AMP page duplicates the content of the normal Sitefinity CMS page, the AMP HTML must contain a canonical tag that specifies the URL of the original page. This way, you avoid search ranking distribution.
By default, to determine original page URL for the canonical tag, the AMP page relies on Sitefinity CMS Canonical URLs implementation.
For more information, see Locations of content items: Canonical URLs.
When you want to use a specific page as the original page for your content or you have modified the original page’s URL, for example, by URL rewrite rules, you can use custom canonical URLs for your AMP pages.
To configure custom canonical URLs for AMP pages, perform the following:
- Navigate to Administration » Settings » Global settings » Mobile formats.
- Click the desired content type.
For example, click Blog posts.
- Expand the Advanced section.
- In Canonical URL dropdown box, select Custom canonical URL.
- Enter the desired URL.
You can also access the content item’s properties using the following formats:
[<property name>]
and [<property name>, {<format>}]
EXAMPLE: Enter
blogs/[Parent.UrlName]/[PublicationDate, {0:yyyy'/'MM'/'dd}]/[UrlName]