[Resolved] robots noindex nofollow on dev or uat installs
I run my wp in http://www.example.com, uat.example.com, and dev.example.com installs for production, user acceptable testing, and development.
I’d like to create a conditional statement in header.php if I’m running the code on the uat or dev environments that outputs `echo ‘<meta name=”robots” content=”noindex,nofollow”> ‘
I don’t want my uat and dev environment indexed and I don’t want to have individual robots.txt files.
How can I test for subdomains or not main domain?
Thanks in advance.
- The topic ‘[Resolved] robots noindex nofollow on dev or uat installs’ is closed to new replies.