Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WFMattR

    (@wfmattr)

    If the list of IPs is from the blocked IPs of an existing Wordfence installation, you can export your Wordfence settings, and import them into another site. Details are included here — this works in both versions of Wordfence:
    http://docs.wordfence.com/en/Wordfence_options#Exporting_your_Wordfence_Settings

    There is not currently an option to import a list of IPs to block by other methods, but if some of them fall into large ranges, you can use Wordfence’s Advanced Blocking page, to enter ranges of IPs to block (which also works in the free version). Country blocking is only available in the premium version.

    Thread Starter liberfin

    (@liberfin)

    Hi. Another question about import/export settings.

    This code:

    try {
    wordfence::importSettings($token);
    } catch(Exception $e){ echo $e->getMessage(); }

    In which program has to be installed in WordPress?

    Thanks in advance.

    Plugin Author WFMattR

    (@wfmattr)

    For importing Wordfence settings on just a few sites, you do not need to use that code at all — you can just paste the token in the Import box near the bottom of the Wordfence options page, on each site where you want to use the same settings.

    That code is only necessary for hosts or developers automating Wordfence setup for their sites, themes, or plugins. (For example, a hosting company might add this to an installation script that automatically creates WordPress sites when someone signs up, but you wouldn’t want it to run every time a visitor views the site.)

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

The topic ‘Loading IP Black List’ is closed to new replies.