• I know that you have probably heard it before, but I think this is an important feature.

    I think we should be able to easily customise the blocked pages from the Wordfence plugin, and we should also be able to preview them without getting blocked ourselves, I think it is important to know what experience you are providing for your users, and make sure that the experience they get is consistent.

    I get that we can edit the files, which I have already done, but for most users, that’s not possible.

    Please add the ability to customise blocked pages.

    Thanks,

    NG

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thanks for voting on that as a feature request, I’ve been asking for a while, am pretty sure they have it on the list.

    For what it is worth, those who want to customize the standard Wordfence blocked notification page, it is /plugins/wordfence/lib/wf503.php

    The wf503.php gets written over at each Wordfence update, so keep a backup and manually rework each time Wordfence updates… and hope they someday give the option of using custom block page.

    And what’s wrong with the standard page? For some of us, it’s ridiculous. Too much information, too much PHP. Awkwardly written. It gets loaded thousands and thousands of times when the bots swarm a website, for my use it needs to be lean, low weight.

    My customized one is just 6 lines of flat html text, no PHP, not even any links.

    MTN

    Any news about this?
    Slightly sad we can’t change this page when we don’t have an english website and when the mail field doesn’t even work!

    Pending a Wordfence solution, it is possible to modify the wf503.php file.

    Here is the french translation for exemple :

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>Votre accès à ce site a été limité</title>
    </head><body>
    <h1>Votre accès à ce site a été limité</h1>
    <p>Votre accès à ce site a été temporairement limité. SVP réessayez dans quelques minutes. (HTTP response code 503)</p>
    <p>Raison : <span style="color: #F00;"><?php echo $reason; ?></span></p>
    <p style="width: 600px;"><b>Note importante pour l'administrateur du site : </b>Si vous êtes l'administrateur de ce site, notez que votre accès a été limité car vous avez enfreint une règle de blocage de Wordfence.
    La raison pour laquelle votre accès a été limité est : <b>"<?php echo $reason; ?>"</b>.
    <br /><br />
    Si vous pensez que c'est un faux positif, ou si vous pensez que l'accès à votre site a été limité de fa?on incorrecte,  alors vous devez vous reconnecter à votre site, aller dans la page "option" de Wordfence, aller dans la section des règles de limitation et désactiver la règle qui est à l'origine de ce blocage. Par exemple,
    si vous êtes bloqués parce qu'il a détecté que vous êtes un faux robot Google, alors désactivez la règle qui bloque les faux Google crawlers. Ou si vous avez été bloqués parce que vous avez tenté de vous connecter trop fréquemment, alors augmentez le nombre accès possibles par minute.
    <br /><br />
    Si vous avez encore des problèmes, alors désactivez simplement le blocage avancé de Wordfence et vous bénéfierez toujours des autres fonctionnalités de sécurité fournies par Wordfence.
    
    <br /><br />
    <?php require('wfUnlockMsg.php'); ?>
    
    </p>
    <p style="color: #999999;margin-top: 2rem;"><em>Generated by Wordfence at <?php echo gmdate('D, j M Y G:i:s T', wfUtils::normalizedTime()); ?>.<br>Your computer's time: <script type="application/javascript">document.write(new Date().toUTCString());</script>.</em></p>
    </body></html>

    Note this changes come back after Wordfence plugin upgrade.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom blocked pages’ is closed to new replies.