Jump to content
  • 0

noindex - jak ustawić na konkretnych podstronach


dippaolo

Question

Witam

Jak w Prestashop zmienić na konkretnych podstronach

<meta name="robots" content="index,follow" />

na 

<meta name="robots" content="noindex,nofollow" />

 

Znalazłem sposób nie do końca skuteczny. Gdy w pliku header.tpl wstawię np:

{if $page_name=='order'}
<meta name="robots" content="noindex, nofollow" />
{else}
<meta name="robots" content="index,follow" />
{/if}

to zduplikuje wpis i jest podwójnie:

<meta name="robots" content="noindex, nofollow" />
<meta name="generator" content="PrestaShop" />
<meta name="robots" content="index,follow" />

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...