Closing the pages of the meta-strate transponder <meta content="noindex, follow" name="robots"/>



  • The page of the pager should be closed by the following meta-tag:

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

    Site in WordPress.

    Tell me, how do I know what page this tag needs to be written and what's a stranger?



  • For the necessary pages, the condition was:

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



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2