La fonction de suggestion automatique permet d'affiner rapidement votre recherche en suggérant des correspondances possibles au fur et à mesure de la frappe.
On our blog posts we specify the canonical URL using {{ page_meta.canonical_url }}
However if the editor adds a custom canonical URL that is different (eg. if the blog originally appeared as a guest blog on another site) we end up with TWO canonical tags served.
Not sure how to overcome this - is it possible to add an IF statement to the original canonical line? ie. only show this if the custom canonical hasn’t been defined?
@simon you should be able to use a conditional statement like the following to check to see if a custom canonical URL (content.link_rel_canonical_url) exists: