Breaking News:

latest

How to set limit access to WordPress Login page by IP address

Hello and Welcome to GetWebInfo.com. Here on this Post i will tell you that how can you set limited access to Wordpress Login page by any I...

Hello and Welcome to GetWebInfo.com. Here on this Post i will tell you that how can you set limited access to Wordpress Login page by any Ip Address. By default your wordpress login page is open for every body anyone can just type /wp-admin or /wp-login.php next to domain name and each your site entry point. So if you want No any body can hack your website or can't be able to login attempt to your website account again and again. Most of the times they automate brute force attacks to guess your wordpress user-name and password. In order to protect your site from brute force attacks and hackers you must take several security measures. 



Getting Started 

Here are two options for limiting access to the WordPress dashboard:


  • One or Multiple IP Addresses -  This is the option for you if your IP address doesn't change because you edit your site from your desktop or a small number of other locations to edit your site. After doing this no any body can be able to attempt login process again and again to your website login panel.



  • Multiple Dynamic IP Addresses - If your IP address regularly changes because you use your phone, you travel a lot and need access to your admin dashboard, or you have users requiring access from multiple locations. 


So you can only put this code to your WordPress .htaccess folder and secure your website.


<Files wp - login.php>
order deny,allow
Deny from all
# whiteist West Palm Beach IP address
allow from xx.xxx.xx.xx
#whitelist Gainesvile IP Address
allow from xx.xxx.xx.xx
</File>


Note: Do not forget to replace the IP Address with your own IP address. The only real downside to this is if you have dynamic IPs, then it can be a problem.

No comments