• Resolved kaydiandesign

    (@kaydiandesign)


    It would be great if there could be exceptions to this. For example, I have one plugin where I can export a CSV, but that feature doesn’t work if I activate “Lock and Protect System Folders”, because it locks everything. I would love to be able to selective apply this setting. Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Stoyan Georgiev

    (@stoyangeorgiev)

    Hey there @kaydiandesign,

    By enabling this option an .htaccess file is placed in your WordPress’ system folders, preventing the execution of unauthorized or suspicious scripts from being executed from them.

    Most probably the plugin you’ve mentioned is trying to execute a script inside your system folders.

    You can try to locate which file the plugin is trying to access and exclude it in order to get this working. The exact rules you should use are:

    
    <FilesMatch "the-filename\.the-extension">
    	<IfModule !mod_authz_core.c>
    		Allow from all
    	</IfModule>
    	<IfModule mod_authz_core.c>
    		Require all granted
    	</IfModule>
    </FilesMatch>
    

    Most of the time this is a PHP script requested by plugins similar to the one you’ve mentioned so it can extend its functionality and export/preview specific data.

    The rules I’ve proposed should be added to the wp-content directory under .htaccess file.

    If you have any issues, feel free to reach back to us!

    Kind regards,
    Stoyan

Viewing 1 replies (of 1 total)
  • The topic ‘FEATURE REQUEST: Lock and Protect System Folders’ is closed to new replies.