minadreapta Posted May 14, 2014 Share Posted May 14, 2014 is this possible? i would like the pages that require authentication to have noidex, follow robots tag and the pages that do not require authentication to have index,follow. is this possible somehow? thanks. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted May 14, 2014 Share Posted May 14, 2014 yes, you add the directives and some 'ifs' to header.tpl 0 Quote Link to comment Share on other sites More sharing options...
minadreapta Posted May 14, 2014 Author Share Posted May 14, 2014 a small example please ? what should i do if i want clientarea.php to have <meta name="robots" content="noindex,follow" /> Thanks. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted May 14, 2014 Share Posted May 14, 2014 hello @minadreapta, you can use do the following: {if $filename=='clientarea' or $filename=='login' or $filename=='register'} <meta name="robots" content="noindex,nofollow" /> {else} <meta name="robots" content="index,follow" /> {/if} i think it is simple but if you found it hard to understand let me know 0 Quote Link to comment Share on other sites More sharing options...
Plambee Posted May 14, 2014 Share Posted May 14, 2014 You can set different Meta Tags with the WHMCS SEO Plugin from no half pixel: https://clients.no-half-pixels.com/whmcs-seo 0 Quote Link to comment Share on other sites More sharing options...
minadreapta Posted May 15, 2014 Author Share Posted May 15, 2014 @sentq that works. thanks a lot. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.