Set the canonical link for the page

You can manually set the canonical link as shown above, or you can use the following method.

 
{% do _page.setCanonicalLink('/url/to/page') %}

If the passed URL does not start with https: or http: then the base URL for the site will be added automatically.

This documentation is only for Aptuitiv CMS. Learn more.
Get Started With Aptuitiv