Page 1 of 1

Blocking Search Engine Spiders From Indexing

Posted: Wed Nov 09, 2011 4:45 am
by 108
Hi,

I want to block all search engine spiders from indexing my blog pages. Where do I place the norobots code to accomplish this, and is there more effective code to use than the norobots parameter?

Thanks!
108

Re: Blocking Search Engine Spiders From Indexing

Posted: Wed Nov 09, 2011 4:54 am
by Don Chambers
There is no guarantee it will always work, but you could put the following into your <head>:

Code: Select all

<meta name="robots" content="noindex, nofollow" />
You can edit your template's index.tpl file to do that, or you can use the event plugin "HTML-Code inside head (HTML-Head Nugget)" (serendipity_event_head_nugget)

Re: Blocking Search Engine Spiders From Indexing

Posted: Wed Nov 09, 2011 12:09 pm
by garvinhicking
Hi!

If you want do disallow all, create a robots.txt file with "Disallow: /" - no need to create any HTML headers.

Regards,
Garvin

Re: Blocking Search Engine Spiders From Indexing

Posted: Fri Nov 11, 2011 10:17 pm
by 108
Thank you!