/ Published in: Smarty
To improve SEO in Prestashop we can to apply this hack to the header.tpl removing the global suffix 'shop_name'.
Expand |
Embed | Plain Text
<title>{$meta_title|escape:'htmlall':'UTF-8'}</title> for that: {if $meta_title == $shop_name} <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {else} {assign var=shop_name_trim value=" - $shop_name"} <title>{$meta_title|replace:$shop_name_trim:''|escape:'htmlall':'UTF-8'}</title> {/if}
Comments
Subscribe to comments
You need to login to post a comment.

Hi. Thank you for this.