Title: cheaplt's Replies | WordPress.org

---

# cheaplt

  [  ](https://wordpress.org/support/users/cheaplt/)

 *   [Profile](https://wordpress.org/support/users/cheaplt/)
 *   [Topics Started](https://wordpress.org/support/users/cheaplt/topics/)
 *   [Replies Created](https://wordpress.org/support/users/cheaplt/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/cheaplt/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/cheaplt/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/cheaplt/engagements/)
 *   [Favorites](https://wordpress.org/support/users/cheaplt/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 64 total)

1 [2](https://wordpress.org/support/users/cheaplt/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/cheaplt/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/cheaplt/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/cheaplt/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/cheaplt/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] Protecting the backend hta code](https://wordpress.org/support/topic/protecting-the-backend-hta-code/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/protecting-the-backend-hta-code/page/2/#post-5482922)
 * I recently tried to install a plugin and when i go to the Add New plugin page
   i just get a 404, the IP i put in the code was mine so im not sure why its doing
   that. Would really appreciate getting that figured out. Thank you AIT!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] Protecting the backend hta code](https://wordpress.org/support/topic/protecting-the-backend-hta-code/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/protecting-the-backend-hta-code/page/2/#post-5482921)
 * Hi AIT, I was wondering if there was a snippet for restricting the entire admin
   area based on ip. If there is could you please help me with it and where to place
   it? Not sure if it matters but is it required to have my servers IP in this code
   aswell as my home networks IP? Let me know and thanks for reading!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] Protecting the backend hta code](https://wordpress.org/support/topic/protecting-the-backend-hta-code/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/protecting-the-backend-hta-code/#post-5482741)
 * Oh alright, thats good to hear! Hey thanks a bunch. I’ll mark this ad resolved.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] Protecting the backend hta code](https://wordpress.org/support/topic/protecting-the-backend-hta-code/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/protecting-the-backend-hta-code/#post-5482739)
 * Alright thats great, i will tinker with this code. Thanks for making this possible.
   I think the next step is to some how protect my wp-config from bgeing accessed
   if they are admin rights in my admin dashboard. I am not sure of all the ways
   they can access that file or even if they can. Do you think i need to add onto
   URI restriction code to protect the wp-config? If i did how would i do that? 
   I really appreciate your help on this subject, Thank you many times.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] Protecting the backend hta code](https://wordpress.org/support/topic/protecting-the-backend-hta-code/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/protecting-the-backend-hta-code/#post-5482580)
 * Okay great! I just realized if someone did want to hack me. They could use BPS
   and modify the HTA. Could you offer me the code to block them from BPS? BPS is
   so strong i cant let anyone tamper with it.
    So glad this is possible! I tried
   to do it myself but i dont know if it’ll break my site, let me know if i did 
   it right
 *     ```
       # wp-admin IP Based URI Restriction
       RewriteCond %{REQUEST_URI} (admin.php?page=bulletproof-security/admin/options.php|plugin-install\.php|plugin-editor\.php|media-new\.php) [NC]
       RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.9
       RewriteRule ^(.*)$ - [F]
       ```
   
 * Is it also possible to copmpletely block all backend access by using this code
 *     ```
       # wp-admin IP Based URI Restriction
       RewriteCond %{REQUEST_URI} (wp-admin/) [NC]
       RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.9
       RewriteRule ^(.*)$ - [F]
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] Protecting the backend hta code](https://wordpress.org/support/topic/protecting-the-backend-hta-code/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/protecting-the-backend-hta-code/#post-5482565)
 * Exellent read, I setup the code with my IP, but could you advise me on where 
   i would put this code in the Custom Code section of BPS.
    Thanks for the support,
   Much appreciated.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] Protecting the backend hta code](https://wordpress.org/support/topic/protecting-the-backend-hta-code/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/protecting-the-backend-hta-code/#post-5482554)
 * Thank you for helping me secure those areas, i really appreciate it.
 * I’m super intrested on how this code works.
    on this section of the code i can
   block access to any page by putting its permalink in there? (
 * > plugin-install
 * \.php|plugin-editor\.php|media-new\.php)
    and on this section of the code it 
   blocks access to a .php file? (plugin-install\
 * > .php
 * |plugin-editor\.php|media-new\.php)
 * Also in the case my IP changes often, how would a IP range code look like? And
   do you by chance know how to identify my IP range, is there some easy way to 
   figure out that type of thing?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] Protecting the backend hta code](https://wordpress.org/support/topic/protecting-the-backend-hta-code/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/protecting-the-backend-hta-code/#post-5482550)
 * That is an excellent idea using conditional logic. That would provide a huge 
   amount of detailed security. I am not sure of all the ways a person can malicious
   execute code in the backend but. By covering all of those grounds using conditional
   logic like that. It would be really nice to have that type of security. Please
   let me know what you come up with. Thanks for reading.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] blocking users using proxy](https://wordpress.org/support/topic/blocking-users-using-proxy/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/blocking-users-using-proxy/#post-5320726)
 * Alright, thanks for taking the time out man i appreciate it. I also did some 
   further testing and found a php code to do the same thing but. the code has a
   really good chance to block Google Bots so i decided its not a good thing to 
   put on my website since its a blogging site after all.
 * Hey, i also checked out your team’s website for the BPS plugin and i really like
   the plugin but im having a tough time understanding what additional security 
   features i would get for purchasing the premium version. if you could explain
   to me please.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] blocking users using proxy](https://wordpress.org/support/topic/blocking-users-using-proxy/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/blocking-users-using-proxy/#post-5320668)
 * Alright thanks for clearing that up for me, and thanks for taking the time out
   to consider checking out the code.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] blocking users using proxy](https://wordpress.org/support/topic/blocking-users-using-proxy/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/blocking-users-using-proxy/#post-5320592)
 * Thanks for the link and instructions.
    I was wondering since my site is https
   does that code work for me? the code shows http on it. I’m wondering if i have
   to change the code’s http to https. If it doesn’t matter let me know. Thanks 
   for the swift reply.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Product Tabs Lite for WooCommerce] Product tabs](https://wordpress.org/support/topic/product-tabs/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/product-tabs/#post-4053954)
 * No it never was resolved sorry.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] Rerouting url http to https using BPS htaaccess](https://wordpress.org/support/topic/rerouting-url-http-to-https-using-bps-htaaccess/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/rerouting-url-http-to-https-using-bps-htaaccess/#post-4207796)
 * That is a great idea, how would i do that? and is it possible to do with Hta?
   Thank you mate, this is very useful.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] Rerouting url http to https using BPS htaaccess](https://wordpress.org/support/topic/rerouting-url-http-to-https-using-bps-htaaccess/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/rerouting-url-http-to-https-using-bps-htaaccess/#post-4207791)
 * I do not want to make whole site https, i just need specific urls forced to run
   at https. my SSL certification is not fully secure because i have some urls running
   in http.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BulletProof Security] Rerouting url http to https using BPS htaaccess](https://wordpress.org/support/topic/rerouting-url-http-to-https-using-bps-htaaccess/)
 *  Thread Starter [cheaplt](https://wordpress.org/support/users/cheaplt/)
 * (@cheaplt)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/rerouting-url-http-to-https-using-bps-htaaccess/#post-4207765)
 * I am confused mate, your link doesn’t show me how to route specific http urls
   to an https. i look twice, could you please explain to me, sorry for inconvenience.

Viewing 15 replies - 1 through 15 (of 64 total)

1 [2](https://wordpress.org/support/users/cheaplt/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/cheaplt/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/cheaplt/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/cheaplt/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/cheaplt/replies/page/2/?output_format=md)