2012-02-04, 04:52:46
jasiek7 Wrote:Hi!
I am a begginer in GetSimple and I have a first problem.
How i can block Google boots on a single page (no entire domain)?
I wanto to get <meta name="robots" content="noindex, nofollow"> (or else) in my single page, eg. noindex for mydomain.com/contact?
I would like to block a single page for robots only.
I don't see this option in GetSimple panel, mabey some plugin or how do it myself?
If it's for a single page, the easiest way is to put the following directly into your template's head (Admin Theme/Edit Theme):
Code:
<?php if (return_page_slug() == 'contact') echo '<meta name="robots" content="noindex, nofollow">'; ?>