So in my previous post,WordPress Login Page Disabled? Create a secondary wp-login.php page, I gave you a way to create a secondary login page when a web host has locked you out of your login page. Here is a way to also add another level of protection against brute force hacks. In your .htaccess file if you add the below code you can to limit your login and admin areas to specific IP addresses. You can find out your IP address by going too whatismyip.com.

If you want to allow the IP address where you are browsing from to be allowed you need to modify where it says 127\.0\.0\.1 to be 66\.249\.65\.114. By duplicating that line you are also able to add any IP address you want to have admin access.

Share This