Last active
November 6, 2015 08:19
-
-
Save simondahla/54c93b72937ded647bf7 to your computer and use it in GitHub Desktop.
If running an split test (AB-test redirecting the traffic to different pages) use this to exclude the variation(s) so you don't get punished for duplicate content. This should work in the same way as described in this blog post: http://dah.la/1RAIrzJ
This file contains hidden or 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
<script> | |
var m = document.createElement('meta'); | |
m.name = 'robots'; | |
m.content = 'noindex, nofollow'; | |
document.head.appendChild(m); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment