Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    You can keep your htaccess rules, and you can add your new login slug too if you want

    Thread Starter Frank Gomez

    (@frank6tg)

    Great, Thank you.

    Thread Starter Frank Gomez

    (@frank6tg)

    one more question.

    How would you do this (using /login/ as the example)
    BEFORE it was

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{HTTP_REFERER} !^http://(.*)?website\.com [NC]
    RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
    RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
    RewriteRule ^(.*)$ - [F]
    </IfModule>

    AFTER should it be (I noticed login.php doesn’t work, just /login/ or /login

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{HTTP_REFERER} !^http://(.*)?website\.com [NC]
    RewriteCond %{REQUEST_URI} ^(.*)?login\(.*)$ [OR]
    RewriteCond %{REQUEST_URI} ^(.*)?login$
    RewriteRule ^(.*)$ - [F]
    </IfModule>

    `

    You don’t have to have login two times, only once

    Thread Starter Frank Gomez

    (@frank6tg)

    thanks

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

The topic ‘Is this compatible with dynamic IP blocking?’ is closed to new replies.