elmbrook Posted March 29, 2010 Share Posted March 29, 2010 I would like to add this code to several cms pages: <meta name="robots" content="noindex, nofollow">. Can anyone point me to the right file to alter? Thanks. Link to comment Share on other sites More sharing options...
elmbrook Posted March 30, 2010 Author Share Posted March 30, 2010 Can anyone please answer this? Link to comment Share on other sites More sharing options...
josias Posted December 8, 2011 Share Posted December 8, 2011 I've the same problem. nodoby knows the solution? Link to comment Share on other sites More sharing options...
Ronaldo Perez Posted December 8, 2011 Share Posted December 8, 2011 I've the same problem. nodoby knows the solution? simplest way in robots.txt Disallow: /yourpage.php Link to comment Share on other sites More sharing options...
josias Posted December 8, 2011 Share Posted December 8, 2011 Thank you sergeyH And.. If you want disable ALL cms pages? Link to comment Share on other sites More sharing options...
Ronaldo Perez Posted December 8, 2011 Share Posted December 8, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now