Skip to:
Content
Pages
Categories
Search
Top
Bottom

Noindex tag

Viewing 1 replies (of 1 total)
  • There’s a function to tell when you’re on a BP page is_buddypress() so this is a guess at how you could do it:

    add_action( 'wp_head', function() {
      if ( is_buddypress() ) {
        echo '<meta name="robots" content="noindex">';
      }
    });
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar