i have category pages with a lot of products.
for example :
https://www.cdsoft.co.il/index.php?id_category=218&controller=category&id_lang=3&p=3
https://www.cdsoft.co.il/index.php?id_category=218&controller=category&id_lang=3&p=4
https://www.cdsoft.co.il/index.php?id_category=218&controller=category&id_lang=3&p=4
they all have the same meta title .
i want to add to each meta title the string ” – page number XX”
HOW TO DO IT ?
2
Answers
I've found it :)
i'm using blocklayered module , and there is a function call Ajax call. when i'm using blocklayered- the meta title comes from the ajax function :)
so - with the help of Yaniv Mirel - in line 3174 , on module/blocklayered/blocklayered.php - line 3174 :
'meta_title' => $meta_title . ' | ' . $this->l('page') . ' ' . $p . ' - ' . Configuration::get('PS_SHOP_NAME'),
This problem is caused by Block Layered module on PrestaShop 1.6. To solve this you should add rel “Prev” and “Next” page tags to your category pages with more than 1 page. Please find this file:
themes/[Your Theme]/header.tpl
and add the code bellow before
</head>
tag:You can also use this module which solves the issue automatically:
https://addons.prestashop.com/en/seo-natural-search-engine-optimization/40888-seo-smo-assistant.html