• Resolved Gujte

    (@gujte)


    Hi,

    first of all a great plugin.
    To protect my wp-content folder ive a htaccess.

    # wp-content
    Order Allow,Deny
    Deny from all
    <Files ~ ".(css|jpe?g|jpg|JPG|png|gif|js|pdf|swf|php|mp3|flv|html|xml|woff|ttf|eot|woff2|ico)$">
    Allow from all
    </Files>

    Now i receieve a Port 80 deny in my browser for all cached sites. How can i extend the htaccess to solve this problem?

    https://www.ads-software.com/plugins/cachify/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bernhard Kau

    (@kau-boy)

    Why do you want to protect all files within wp-content? Shouldn’t they be intended to be visible to a visitor?

    Plugin Support Torsten Landsiedel

    (@zodiac1978)

    It’s a whitelist, so I think you just have to add .gz to this whitelist:

    Please try and please report back afterwards:

    # wp-content
    Order Allow,Deny
    Deny from all
    <Files ~ ".(css|jpe?g|jpg|JPG|png|gif|js|pdf|swf|php|mp3|flv|html|xml|woff|ttf|eot|woff2|ico|gz)$">
    Allow from all
    </Files>

    Thank you!

    All the best,
    Torsten

    Thread Starter Gujte

    (@gujte)

    Thx Torsten,

    solved it with your solution

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not working with htaccess wp-content folder’ is closed to new replies.