.htacess seem to have stopped working

  • Answered
I have been getting many failed login attempts: 4 failed login attempts (1 lockout(s)) from IP: My WordPress Admin login has been locked down and working with .htaccess since started the account, with the following cide: RewriteEngine on RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR] RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$ RewriteCond %{REMOTE_ADDR} !^123\.123\.123\.123$ RewriteRule ^(.*)$ - [R=403,L] Obviously, with my ip not the this stopped working on my website. Is something wrong with my account? Thanks.
Hello kenard, Thank you for your contacting us about an issue with .htaccess rules. CMS's such as WordPress, and their plugins also manipulate/modify the .htaccess file. There may be a rule in there conflicting with the one you have in place. As a test, try renaming your .htaccess file (such as .htaccess.old), then creating a new file named .htaccess and adding your rule to it. You can always name your original .htaccess file back at any time. If you have any further questions, feel free to post them below. Thank you, John-Paul