Created
November 17, 2012 23:15
-
-
Save ataylorme/4101272 to your computer and use it in GitHub Desktop.
Set virtual robots to no index on test domain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if( stristr(get_bloginfo('url'), 'testdomain.com') !== FALSE) | |
update_option('blog_public',0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment