Title: Login Whitelist
Last modified: August 30, 2016

---

# Login Whitelist

 *  Resolved [tshah](https://wordpress.org/support/users/tshah/)
 * (@tshah)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/login-whitelist/)
 * I want to use Login Whitelist feature but i am getting the plugin was unable 
   to write to the .htaccess file. Please edit file manually.
 * Where do I add .htaccess file ? Also which code I should add?
    Thanks
 * [https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/login-whitelist/#post-6599577)
 * Hi is your host running Windows IIS or Apache server?
 *  Thread Starter [tshah](https://wordpress.org/support/users/tshah/)
 * (@tshah)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/login-whitelist/#post-6599579)
 * Apache Ubuntu. Thanks
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/login-whitelist/#post-6599580)
 * When you install WordPress and you set up your permalink settings, this creates
   your .htaccess file.
 *  Thread Starter [tshah](https://wordpress.org/support/users/tshah/)
 * (@tshah)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/login-whitelist/#post-6599581)
 * Thanks. But right now I am not able to edit. Which permission I have to change
   in order to work and where the htaccess file created .
    Also which code I should
   Write on it. I try to create manually and it doesn’t let me create.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/login-whitelist/#post-6599582)
 * Try saving your permalink settings again. This should create your .htaccess file.
 *  Thread Starter [tshah](https://wordpress.org/support/users/tshah/)
 * (@tshah)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/login-whitelist/#post-6599588)
 * Ok. I tried but it didn’t create a .htaccess file. What kind of permission I 
   need to set and which folder or files.
    Thanks
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/login-whitelist/#post-6599589)
 * The .htaccess file is created in the root of your website. You will see all the
   WordPress php files plus the [.htaccess](https://codex.wordpress.org/htaccess)
   file.
 * You need to FTP into your server or you might like to use Cpanel. I prefer to
   use FTP like filezilla which is free.
 *  Thread Starter [tshah](https://wordpress.org/support/users/tshah/)
 * (@tshah)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/login-whitelist/#post-6599593)
 * Ok. I saw now .htaccess file in htdocs folder. It was hidden. The htdoc folder
   include wp-admin/content/includes .
    So when I click on wp security plugin whitelist
   and enter IP address has access to view the login page and click on save throws
   error saying update manually. Which code should I add so only I can see admin
   page. Thanks
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/login-whitelist/#post-6599594)
 * Can you check the file permissions under **Filesystem Security**? Make sure they
   are all correct.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/login-whitelist/#post-6599812)
 * I am marking this issue as resolved. No reply in 4 months.
 * Thank you

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Login Whitelist’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/login-whitelist/#post-6599812)
 * Status: resolved