If you add this code to your header.php file, it will tell Google not to index your password-protected content:
Viewing 1 to 2 of 2 items
Exclude posts or pages from search results
Would you like to be able to control which post or pages must be exclued from searches on your WordPress blog? If yes, this article will probably help you a lot. To achieve this, just simply paste the following code on the functions.php file from your theme. In this example, your wordpress posts with IDs Full Article…