Forum Replies Created

Viewing 1 replies (of 1 total)
  • When you are running a WordPress site, the wp-admin folder is where the Administrator settings are stored. Limiting access to this folder by IP address can stop something such as a robot (bot) or script from trying to guess your password over and over again. This will help protect your WordPress installation.
    In this tutorial we will show you how to allow access to the wp-admin folder by IP address, which will protect your WordPress installation. This can be accomplished by adding a rule to the .htaccess file.

    You will need to know your IP address, so that you can ‘allow’ it.
    Using FTP or the File manager, edit the .htaccess file located in the /wp-admin folder.
    Add the following lines to your .htaccess file, and update with your specific IP address, or the IP addresses you want to ‘allow’.

    order deny,allow 
    deny from all
    # Whitelist IP #1 
    allow from 192.16.145.862
    # Whitelist IP #2 
    allow from 192.16.145.863 
    # Whitelist IP #3 
    allow from 192.16.145.864

    Save the .htaccess file. Now, if someone tries to access your wp-admin folder, and their IP is not on this allow list, they will get a 500 error.

Viewing 1 replies (of 1 total)