Title: .Htaccess within wp-admin folder
Last modified: August 19, 2016

---

# .Htaccess within wp-admin folder

 *  [rainer23](https://wordpress.org/support/users/rainer23/)
 * (@rainer23)
 * [16 years ago](https://wordpress.org/support/topic/htaccess-within-wp-admin-folder/)
 * When uploading a .htaccess (#Order allow,deny) file into wp-admin, I couldn’t
   get into the back-end anymore. When deleting that .htaccess file it again worked.
   Question is, is there a way to use .htaccesss to make wordpress more secure? 
   Thanks for any info!

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

 *  [Riversatile](https://wordpress.org/support/users/riversatile/)
 * (@riversatile)
 * [16 years ago](https://wordpress.org/support/topic/htaccess-within-wp-admin-folder/#post-1482977)
 * Sure ! Use only your **HTACCESS** into the WWW folder with this :
 *     ```
       # END WordPress
   
       Order allow,deny
       allow from all
   
       # Banned IP Addresses
       w.x.y.z
       w.x.y.z
       w.x.y.z
       w.x.y.z
       w.x.y.z
       w.x.y.z
       ```
   
 * **w.x.y.z** represent the IP Address that are banned on your entire website, 
   including wp-admin folder !
 * But, from my knowledge, and I use this solution… It’s more secure and more compliant
   to use the extension called “Bad Behavior” in addition of a solution called “
   http:BL”, you’ve just to request an Access Key at [http://www.projecthoneypot.org](http://www.projecthoneypot.org),
   then paste your access Key into the required field into the “Bad Behavior” setting
   panel 😉
 *  [Riversatile](https://wordpress.org/support/users/riversatile/)
 * (@riversatile)
 * [16 years ago](https://wordpress.org/support/topic/htaccess-within-wp-admin-folder/#post-1482979)
 * It’s useful to prevent SPAM/HARVEST BOTS sniff your entire website/wordpress 
   structure.
 * An HTACCESS file is useful when you know a specific IP address of a user you 
   want to ban.
 *  Thread Starter [rainer23](https://wordpress.org/support/users/rainer23/)
 * (@rainer23)
 * [16 years ago](https://wordpress.org/support/topic/htaccess-within-wp-admin-folder/#post-1483154)
 * Thanks, riversatile! [http://wordpress.org/extend/plugins/bad-behavior/](http://wordpress.org/extend/plugins/bad-behavior/)

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

The topic ‘.Htaccess within wp-admin folder’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [rainer23](https://wordpress.org/support/users/rainer23/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/htaccess-within-wp-admin-folder/#post-1483154)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
