• Resolved Craig

    (@catholicservant)


    Hello,

    Although I do have some sites with Premium, I have a large number using the free license, and I used the same API key and email for all of them. I even connected them to WF Central.

    According to another thread, this is not OK.

    So, is there an efficient way to generate a new API key and update all of my sites?

    Thx!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @catholicservant, I appreciate your question.

    Using the same email is definitely fine, there’s no limit to the amount of free sites the same email address can register. However, each site should have a separate key.

    Any sites installed before the free license changes will have a key generated automatically by Wordfence, which will still work fine. However, the only current way to get additional free keys for all your sites is to go through the free API Key process: https://www.wordfence.com/help/api-key/#installing-your-free-license-key

    The main problem of the same key making its way on to multiple sites is that some actions are rate-limited by key, so too many sites making API calls for rule updates with the same key may not succeed.

    Thanks,
    Peter.

    Thread Starter Craig

    (@catholicservant)

    Hi Peter,

    Thanks for the help. Yes, the rate-limit is affecting rule updates for my site. That was what brought me here.

    Upon review of that link for the free API key, I don’t see any way to remove an API key associated with a site and add a new one.

    Do I need to competely uninstall/remove including database fields and re-install to generate a new API key?

    Thanks!

    Craig

    Plugin Support wfpeter

    (@wfpeter)

    Hi @catholicservant, thanks for your reply.

    Export tokens from Wordfence > Tools > Import/Export Options should still work when importing on another key, so you could take this step before performing a full remove/reset: https://www.wordfence.com/help/advanced/remove-or-reset/

    If you’re comfortable using the database, it may be simpler to run the query DELETE FROM wp_wfconfig WHERE name = 'apikey' (other capitalization or table prefixes may apply in your case), then deactivate the plugin with the option to “keep tables and data”, and activate the plugin again. This does cause the prompt to return.

    Thanks,
    Peter.

    Thread Starter Craig

    (@catholicservant)

    Perfect. Thanks Peter!

    • This reply was modified 1 year, 8 months ago by Craig. Reason: Marking as resolved
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘same api key on multiple sites’ is closed to new replies.