Jump to content

[SOLVED] where to find CMS pages?


Recommended Posts

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

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

×
×
  • Create New...