Title: Firewall issue
Last modified: April 12, 2021

---

# Firewall issue

 *  Resolved [johnmandarine](https://wordpress.org/support/users/johnmandarine/)
 * (@johnmandarine)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/firewall-issue-3/)
 * Hello,
 * I have a website with your firewall ([https://www.grand-raid-bcvs.ch](https://www.grand-raid-bcvs.ch)),
   but I already have a shop (Prestashop)([https://www.grand-raid-bcvs.ch/e-commerce/fr/](https://www.grand-raid-bcvs.ch/e-commerce/fr/))
 * The customer can not change images in the backoffice of the Prestashop because
   your firewall block it (NinjaFirewall 403 Forbidden).
 * What can I do ?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffirewall-issue-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/firewall-issue-3/#post-14311348)
 * You would need to exclude the `/e-commerce/` folder, if you are running NinjaFirewall
   WP in the parent directory.
    You can try either solutions: 1. Create a .user.
   ini inside the `/e-commerce/` folder and add this line: `auto_prepend_file =`
   The value is empty, and should clear the directive defined in the parent directory
   2. Or, if that didn’t work, use the [.htninja script](https://blog.nintechnet.com/ninjafirewall-wp-edition-the-htninja-configuration-file/)
   and upload it in the root folder of WordPress:
 *     ```
       <?php
       /*
        +===========================================================================================+
        | NinjaFirewall optional configuration file                                                 |
        |                                                                                           |
        | See: https://blog.nintechnet.com/ninjafirewall-wp-edition-the-htninja-configuration-file/ |
        +===========================================================================================+
       */
   
       if (strpos($_SERVER['SCRIPT_FILENAME'], '/e-commerce/') !== FALSE) {
          return 'ALLOW';
       }
       ```
   
    -  This reply was modified 5 years, 2 months ago by [nintechnet](https://wordpress.org/support/users/nintechnet/).
 *  Thread Starter [johnmandarine](https://wordpress.org/support/users/johnmandarine/)
 * (@johnmandarine)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/firewall-issue-3/#post-14312578)
 * Hello,
 * The first solution works !
 * Thanks for your help
 * Best regards

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

The topic ‘Firewall issue’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [johnmandarine](https://wordpress.org/support/users/johnmandarine/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/firewall-issue-3/#post-14312578)
 * Status: resolved