Google AMP canonical URL

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. 


The URLs of videos served in AMP pages are restricted to only HTTPS protocol. If HTTP video source is selected, Sitefinity CMS will automatically rewrite the protocol to HTTPS and, if the video is not available under HTTPS, it will not be served in the AMP page.
For more information, see amp-video.

To configure custom canonical URLs for AMP pages, perform the following:

  1. Navigate to Administration » Settings » Global settings » Mobile formats.
  2. Click the desired content type.
    For example, click Blog posts.
  3. Expand the Advanced section.
  4. In Canonical URL dropdown box, select Custom canonical URL.
  5. 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]

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?