Title: Uploads Folder
Last modified: March 27, 2023

---

# Uploads Folder

 *  Resolved [Dave](https://wordpress.org/support/users/davehtest/)
 * (@davehtest)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/uploads-folder-14/)
 * I enabled the new option in your plugin “Prevent code execution in the public‘
   Uploads’ folder” without realizing it would break the functionality of the custom
   code plugin I am using.
   I disabled it as soon as I realized what it was doing
   but now I am still unable to use this plugin to modify my code.When the option
   is disabled in your plugin, it is not reversing whatever it implemented when 
   it was first enabled.When something is turned off, it should be off.I spent all
   night trying to figure out why my code was not working, only to finally open 
   up the code file this morning to realize it had never been updated, because of
   what your plugin has done and not reversed.I need to know how to fix this and
   you need to fix your plugin ASAP so that other people are not effected by this
   problem.

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

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/uploads-folder-14/#post-16596888)
 * Thanks for reporting your issue. This function adds a htaccess file (if it’s 
   it already there) + rule to the uploads folder, if disabled it should remove 
   it of course, we’ll check if we can reproduce the issue.
 * If you go to the uploads folder, please remove
 *     ```
       Files *.php>
       deny from all
       </Files>
       ```
   
 * From the htaccess file. Or if there’s nothing else in it you can remove it entirely.
    -  This reply was modified 3 years, 2 months ago by [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/).
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/uploads-folder-14/#post-16597269)
 * [@davehtest](https://wordpress.org/support/users/davehtest/) I’ve just tested
   deactivating this setting, the above lines are removed on deactivation, so I 
   can’t reproduce the issue at the moment. I also checked if it could accidentally
   remove existing rules, but with the rules I tested this worked correctly.
 * This settings doesn’t do anything other than adding this line in the .htaccess,
   so if this caused an issue and removing those lines doesn’t help, can you post
   some more info on the custom code? Does it also include some .htaccess in the
   uploads folder? If so, can you post that code so I can test with that specific
   code as well?
 *  Thread Starter [Dave](https://wordpress.org/support/users/davehtest/)
 * (@davehtest)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/uploads-folder-14/#post-16599250)
 * Hi, no my code does not add any .htaccess.
   It is just some simple javascript 
   to add and remove classes on scroll.I have gone in and manually removed the code
   you mentioned and that has fixed the problem.Resolved for now I guess, but the
   ability to send files to the upload folder was definitely not working even with
   the option disabled in your apps settings.
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/uploads-folder-14/#post-16599260)
 * Glad this resolved the issue. We will run some more tests to see if we can reproduce
   it.

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

The topic ‘Uploads Folder’ is closed to new replies.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/uploads-folder-14/#post-16599260)
 * Status: resolved