[wp-hackers] set wordpress privacy from functions.php

Gaurav Aggarwal gaurav91.2008 at gmail.com
Mon Mar 7 17:58:04 UTC 2011

try restricting search bots by robots.txt

On Mon, Mar 7, 2011 at 11:22 PM, Andrew Gray <andrew at graymerica.com> wrote:
> I would like to create a plugin that forces the site to not show up via to search engines.  I want to force Site Visibility to be none.
> I want to change the option via a function and override what is in the database.
> Does anyone know where that option is stored?
> My goal is to put this into my development switch to stop search engines from finding out live sites.  We too often forget to update the database after we move over production data,
> thanks,
> Andrew
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


Gaurav Aggarwal
IIIrd year student
Computers Engineering
Delhi College of Engineering

More information about the wp-hackers mailing list