Jump to content

Want to make CMS pages no index, nofollow. I need help!


Recommended Posts

  • 1 year later...

such as

in header.tpl approximately 39 string

​<meta name="robots" content="{if isset($nobots)}no{/if}index,follow" />

replace to

<meta name="robots" content="{if isset($nobots) or isset($content_only)}no{/if}index,{if isset($content_only)}no{/if}follow" />

 

it works, but not very correctly, in terms of logic, I think. It would be more of a controller pass variable $nobots. Maybe someone of the moderators will correct me

Link to comment
Share on other sites

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...