title: Noindex BuddyPress members directory subpages
body: <p>The BuddyPress members directory is broken into a number of subpages e.g.</p>
  
  <pre><code>example.com/members/?upage=2
  example.com/members/?upage=3
  </code></pre>
  
  <p>How can I set the subpages to 'noindex' so they are not indexed by search engines such as Google? Note, I would like the main members directory page ( example.com/members ) to be indexed.</p>
  
  <p>I have tried Yoast's SEO plugin which allows you to noindex WordPress archive subpages (such as tags and categories) but this doesn't work for the BuddyPress members directory.</p>
  
  <p><a href="https://github.com/Yoast/wordpress-seo" rel="nofollow">https://github.com/Yoast/wordpress-seo</a></p>