On the site it is necessary to close the pages of the page with the following meta tag:

<meta name="robots" content="noindex, follow"> 

WordPress site.

Tell me how can I find out on what page it is necessary to register this tag and what is a page-page?

  • The page-page is, as I understand it, page-by-page navigation (pagination). But how to close - I will not tell you - I am not familiar with Wordpress. - Roman Grinyov
  • Thank you for some reason did not immediately guess. - cozlofa

1 answer 1

For the necessary pages set the condition:

 <?php if(strripos($_SERVER['REQUEST_URI'], '/nggallery/')) { echo ('<meta name="robots" content="noindex, follow"/>'); } ?>