itbranson Posted September 23, 2011 Share Posted September 23, 2011 Hi guys, I'd like to add no-follow tag to those cms pages like delivery and return policy etc. Where can i find those php pages? thanks Link to comment Share on other sites More sharing options...
liquidesnake Posted September 23, 2011 Share Posted September 23, 2011 from the BO go to Tools >> CMS and also Modules then look for blockcms. from ur webspace go to modules/blockcms, edit either the blockcmss.tpl or blockcmss.php laters Link to comment Share on other sites More sharing options...
itbranson Posted September 24, 2011 Author Share Posted September 24, 2011 thank you for the hint. But i'm still looking for something like delivery.php if there is such page exists. I have delivery, payment and return policy pages in BlockCMS. As i don't want Google indexes those pages, i'd like to put no-index tag to those pages. How i do that? Or from where i can find those pages? Thanks Link to comment Share on other sites More sharing options...
rocky Posted September 25, 2011 Share Posted September 25, 2011 You won't find anything like delivery.php, since all CMS pages go through cms.php. As suggested above, you should edit modules/blockcms/blockcms.tpl. Try changing line 39 (in PrestaShop v1.4.4) of modules/blockcms/blockcms.tpl from: {if isset($cms_page.link)}<li><a href="{$cms_page.link}" title="{$cms_page.meta_title|escape:html:'UTF-8'}">{$cms_page.meta_title|escape:html:'UTF-8'}</a></li>{/if} to: {if isset($cms_page.link)}<li><a href="{$cms_page.link}" title="{$cms_page.meta_title|escape:html:'UTF-8'}" rel="nofollow">{$cms_page.meta_title|escape:html:'UTF-8'}</a></li>{/if} This will make all CMS pages nofollow. Link to comment Share on other sites More sharing options...
itbranson Posted September 26, 2011 Author Share Posted September 26, 2011 Rocky you rock! Link to comment Share on other sites More sharing options...
Recommended Posts