Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vivirenremoto/cae4fd8a0ca3452c11e6cf4ec7458704 to your computer and use it in GitHub Desktop.
Save vivirenremoto/cae4fd8a0ca3452c11e6cf4ec7458704 to your computer and use it in GitHub Desktop.
canonical prestashop un idioma
//poner en header.tpl antes de </head>
{if $page_name == 'product'}
<link rel="canonical" href="{$link->getProductLink($smarty.get.id_product, null, null, null, $id_lang, null, 0, false)}" />
{/if}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment