How do I get all my sites to show in Membership 2 protection rules dropdown?

When I go to Membership 2, "Protection Rules" and try to select the site to set rules for, the dropdown doesn't show all my sites. I have ten sites and only 8 of them show on the dropdown. How do I get them to show up? I am not granting support access at this time because this is a live production application and I worry about anything disrupting it.

  • Michael Bissett
    • Recruit

    Hey @richard_norby3, Michael here! :slight_smile:

    Inside of the Dashboards for the two subsites that aren't showing up in the list there, could you please go to:

    Settings -> Reading

    And check to see if the box for "Discourage search engines from indexing this site" is checked there? If so, could you please disable that, and seeing if that helps?

    Please advise,

  • Michael Bissett
    • Recruit

    Hey @richard_norby3,

    I'd be glad to make adjusting this sort of thing a feature request for you, let me get this moved over to the Features & Feedback section on the forums.

    In the meantime, a quick means of remedying this would be to edit this file:


    Inside of lines 96-102, you'll see the following code:

    if ( ! isset( $List[$key] ) ) {
    			$args = array(
    				'limit' => 0,
    				'public'     => true,
    				'spam'       => false,
    				'deleted'    => false,

    Delete this code:

    'public' => true,

    And you should see all of the other sites in your network displayed in the list. :slight_smile:

    Kind Regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.