Title: Admin lock onlu
Last modified: August 22, 2016

---

# Admin lock onlu

 *  Resolved [frostembrace](https://wordpress.org/support/users/frostembrace/)
 * (@frostembrace)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-lock-onlu/)
 * Hey there,
 * I’m trying to configure the plugin to only lock the admnin section of the website,
   to prevent login possibilities from all IPs but allowed.
 * htaccess doesn’t work on the server
 * i was wondering whether it is possible?
 * [https://wordpress.org/plugins/wp-ban/](https://wordpress.org/plugins/wp-ban/)

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

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-lock-onlu/#post-5280177)
 * I recommend using .htaccess instead [http://www.htaccess-guide.com/deny-visitors-by-ip-address/](http://www.htaccess-guide.com/deny-visitors-by-ip-address/)
 *  Thread Starter [frostembrace](https://wordpress.org/support/users/frostembrace/)
 * (@frostembrace)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-lock-onlu/#post-5280219)
 * yeah, that’s the thing, the server doesn’t allow .htaccess =(
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-lock-onlu/#post-5280220)
 * You also can do it on Vhost config level as well.

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

The topic ‘Admin lock onlu’ is closed to new replies.

 * ![](https://ps.w.org/wp-ban/assets/icon.svg?rev=978059)
 * [WP-Ban](https://wordpress.org/plugins/wp-ban/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ban/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ban/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ban/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ban/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ban/reviews/)

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [IP](https://wordpress.org/support/topic-tag/ip/)
 * [lock](https://wordpress.org/support/topic-tag/lock/)

 * 3 replies
 * 2 participants
 * Last reply from: [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/admin-lock-onlu/#post-5280220)
 * Status: resolved