.htaccess - htaccess rule to block login attempts with username "admin"? -


i've removed username "admin" installations wp-login.php still getting hammered.

is there way use htaccess block requests getting wp-login.php if login form being submitted username=admin?

removing 'admin' login name doesn't prevent trying use it.

interesting question .htaccess. i've never tried can gather you can't rewrite based on post data.

you can iptables rules if have access level of server, and, while have great fun iptables, bit of learning curve.

as far preventing login hammering, have been using plugin called limit login attempts on several sites , works quite well. plugin track failed login attempts , save them in database associated ip. ban ip if user configurable failed login limit reached. ban time user configurable. i'd recommend it, , recommend particular plugins.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -

matlab - How to equate a structure array to structure array -