Using Restrict Content Pro with WordPress Multisite

Restrict Content Pro works great with WordPress multisite. There are three different configurations you can use.

  1. Activate Restrict Content Pro only on the sites you want to use it on. Each site will have its own membership levels, payments, memberships, etc. In other words, you do not network activate the plugin.
  2. Network activated where all sites see the same membership levels, memberships, payments, etc.
  3. Network activated where each site has Restrict Content Pro running, but each site has its own membership levels, memberships, payments, etc. Note: this requires a special configuration.

Running Restrict Content Pro while network activated

When you network activate Restrict Content Pro, by default the membership levels, members, payments, etc. are synced across all sites. If you create a new membership level on one site, it shows up on the other sites as well.

If you do not want it to work this way, and you want each site to have its own separate data while being network activated, you'll need to add the following line of code to the wp-config.php file in your WordPress folder. To do that, find the wp-config.php file in the root of your web folder, find the line that says "That's all, stop editing", and add the following line above that line:

define('RCP_NETWORK_SEPARATE_SITES', true);

This line will instruct Restrict Content Pro to use separate database tables for each site on the multisite network so that each site has its own membership levels, payments, memberships, and so on. You can see how to edit the wp-config.php file in this article.

Note: The Group Accounts add-on does not yet support network activation. It should be activated individually on each site. 

Restrict Content Pro licensing

Each site on a WordPress multisite installation is a separate site. Please select the appropriate license when purchasing Restrict Content Pro.

Have more questions? Submit a request