Viewing 6 replies - 1 through 6 (of 6 total)
  • @beachlizard

    In general that would be possible.

    But no, there is not such feature currently in the iTSec plugin.
    The 404 Detection feature comes close but it works a bit different.
    You can submit a feature request here.

    As an alternative manually add blocking rules to your .htaccess file.
    Please note /admin is a correct WP Dashboard login page slug.
    (just like login, dashboard, wp-admin and wp-login.php)

    dwinden

    Thread Starter beachlizard

    (@beachlizard)

    Thanks dwinden, for the quick reply and the clarification about admin url.

    Can you give an example on what should i add to disable /administrator page?

    Thanks

    @beachlizard

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_URI} ^(.*)?administrator$
    RewriteRule ^.* – [F]
    </IfModule>

    Untested so use it at your own risk.
    Note this does not block on IP. It simply blocks /administrator requests at the Web server level.

    dwinden

    Thread Starter beachlizard

    (@beachlizard)

    Thanks dwinden

    @beachlizard

    If you require no further assistance please mark this topic as ‘resolved’.

    dwinden

    Thread Starter beachlizard

    (@beachlizard)

    Thanks dwinden

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

The topic ‘Block ip by url’ is closed to new replies.