Title: CSV upload creates 403 Forbidden error
Last modified: December 31, 2018

---

# CSV upload creates 403 Forbidden error

 *  Resolved [emmsee51](https://wordpress.org/support/users/emmsee51/)
 * (@emmsee51)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/csv-upload-creates-403-forbidden-error/)
 * Setting up a new website – herbertonne.com.au.
    Have converted all tables from
   an originally supplied .docx file into new csv files (in Excel 2010) for recreation
   in Tablepress. In Tablepress I import/upload a CSV file (that has a table of 
   information created by me) after running it through Bitdefender security. When
   I try to enable it the dreaded Wordpfence 403 error appears and no matter what
   I do Wordfence won’t let me get past this point. I’ve added all the files to 
   the Wordfence whitelist, no go!
 * Any assistance would be appreciated
    regards emmsee

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

 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/csv-upload-creates-403-forbidden-error/#post-11040699)
 * When you check Live Traffic and filter for “Blocked” or “Blocked by Firewall”
   do you see the request there? Does the expanded view show a message in red indicating
   the problem? Have you tried putting the firewall into learning mode and then 
   performing the action that is causing a 403 error?
 * Tim
 *  Thread Starter [emmsee51](https://wordpress.org/support/users/emmsee51/)
 * (@emmsee51)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/csv-upload-creates-403-forbidden-error/#post-11042889)
 * G’day WFSupport,
    Thanks for your detailed response, much appreciated. When I
   attempted to enable ‘learning mode’I found that that option was not available
   for the following reason: _**Web Application Firewall Status You are currently
   running the Wordfence Web Application Firewall from another WordPress installation.
   Please click here to configure the Firewall to run correctly on this site.** 
   My websites are hosted by Siteground – adventuresportnq.info and herbertonne.
   com.au The second site is new (still setting it up) and it is this site that 
   the problem occurs on. Our primary site has been running Wordfence for 18+ months
   and it is a life saver. I installed Wordfence on Herbertonne.com.au and it appears
   to have been linked with adventuresportnq.info’s Wordfence and that’s fine except
   Although I follow the direction after clicking ‘click here to configure’- download
   access, took note of this **“NOTE: If you have separate WordPress installations
   with Wordfence installed within a subdirectory of this site, it is recommended
   that you perform the Firewall installation procedure on those sites before this
   one.”** (Adventuresportnq has been previously installed). Then click ‘continue’,
   but the problem does not go away. Should I be editing the ‘public\_html/wordfence-
   waf.php’ file? If so, how? Any other fixes? BTW, by enabling learning mode on
   the adventuresportnq website, I have been able to successfully import the CSV
   files into Tablepress. Because the firewall for herbertonne is not yet completely
   set up I don’t have a ‘all firewall option’! Again I appreciate your support 
   and assistance – pity this forum does not allow attachments as it would have 
   been much easier to explain the issues! regards from Down Under Mike
 *  Thread Starter [emmsee51](https://wordpress.org/support/users/emmsee51/)
 * (@emmsee51)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/csv-upload-creates-403-forbidden-error/#post-11042891)
 * In the previous lengthy post, download access should have read Downloaded HTAccess!
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/csv-upload-creates-403-forbidden-error/#post-11044858)
 * Go ahead and try setting up the firewall. Choose ‘manual installation’.
    Copy
   the firewall path (without the quotes!) and then login to your Siteground control
   panel. Go to the PHP variables manager and click there. On the next page pick
   the installation folder for the new blog. (see image at [https://postimg.cc/hJkwwZFv](https://postimg.cc/hJkwwZFv))
   The next page should show you the current variables. You will see one for the
   auto_prepend_file already there. (see [https://postimg.cc/McsQ9Nh2](https://postimg.cc/McsQ9Nh2))
   Clear the entry for the auto_prepend_file and add the correct value, then make
   sure and check “Apply changes to all sub-directories?” and hit save. See if that
   optimizes the firewall and allows you to whitelist the action.
 * Tim

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

The topic ‘CSV upload creates 403 Forbidden error’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [403 forbidden error](https://wordpress.org/support/topic-tag/403-forbidden-error/)

 * 4 replies
 * 2 participants
 * Last reply from: [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/csv-upload-creates-403-forbidden-error/#post-11044858)
 * Status: resolved