• Shane

    (@shanemarsh28)


    At present, the way Wordfence stores it’s licence key in a non standard table called: wp_wfConfig. This table also includes the majority of the configuration for Wordfence.

    Within a Multi-NETWORK environment this causes problems primarily because when Wordfence is network activated within more than one network at at time, it finds the same product key. It therefore believes (and quite rightly) that the API key is being used more than once.

    Let me explain for those who are confused. In a Multi-NETWORK setup, all networks share the same users, database, filesystems and server. If I open the wp_site table within our database there are three entries, where in most cases there will only ever be one. This means that within our installation, there are THREE network Admin dashboards within the same physical installation of WordPress.

    FOR THIS TO WORK – you either need to allow the use of a single API key for the entire installation OR base the API key check on something else such as a uniquely generated ID number OR you need to store the API key database entry inside the Blog ID attached to the Network Admin (In our case it would be wp_options [blog ID 1] AND wp_225_options and wp_235_options), OR Wordfence needs to be able to differentiate and store separate API Keys for each network in some other way (by perhaps serialising the API Key with network ID numbers from the wp_site table.).

    Until one of those options are met, we are not able to enable premium features on ANY of the sites within our installation.

    Wordpress Multi Network features are described by one of the WordPress developers here: https://wordpress.tv/2014/07/26/john-james-jacoby-multisite-and-multi-network/

    I hope you implement this change. I don’t believe the changes to your plugin required to make this work to be that complex, I have given multiple options on how to do it I believe you could implement this quite quickly.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    Thanks for writing in, please correct me if I’m wrong that we are already implementing the first option which is allowing the use of a single API key for the entire installation, actually that is what we recommend on “API Keys for Multisite” section in this docs page.

    Thanks.

    Thread Starter Shane

    (@shanemarsh28)

    Hi Wfalaa,

    Wordfence does have multi site support I agree. What it does not support is an installation of WordPress with more than one Network of sites within it. So when I say entire installation what I mean is: A collection of Multisite networks within a single physical install of WordPress.

    Please read my opening question again. I appreciate this is an aspect of WordPress that is largely unknown (some could argue hidden!), but the functionality has been built into WordPress core since v3.0 when WordPress Multisite was initially released.

    This article might help as it explains how this arrangement of WordPress works: https://premium.wpmudev.org/blog/network-of-multisite-networks/

    • This reply was modified 8 years, 6 months ago by Shane.

    Hi again and thanks for the clarification, looks like I didn’t notice that you mentioned “Multi-NETWORK environment” not a regular WordPress Network installation, sorry for that!

    I’m afraid Wordfence is not supported on multi-networks at the moment. For now, I’ve noted your suggestions and will report them to our dev team as I’m sure they will find them helpful if it was decided to work on this feature.

    Thanks.

    Thread Starter Shane

    (@shanemarsh28)

    Hi,

    I really hope that your dev team look into this. We are unable to find a security plugin that is as thorough and we would like to purchase licences to enable all of the plugins features.

    not a regular WordPress Network installation

    This installation type has been hard baked into WordPress core for an enormous amount of time and had your developers stayed with the accepted WordPress API’s this wouldn’t be a problem.

    Please let me know by responding to this thread if your developers update the plugin to accommodate this type of setup even IF they only update the licence key location so that we can enter more than one licence key. We are happy for all of the networks to share the same settings.

    PS: This issue is not ‘resolved’ 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Multi NETWORK Support’ is closed to new replies.