• Hi

    I’ve just installed WP Super Cache which meant relaxing security on my wordpress install a little. I aim to keep it read-only by the web server, except for certain folders which are locked down with .htaccess to server only harmless files such as images.

    My question: does the cache folder need to serve .php files or file types other then .html .css .js .gz (?) and possibly images?

    I’m thinking of a .htaccess in the root of cache like this:

    Order Allow,Deny
    Deny from all
    <Files ~ “.(css|jpe?g|png|gif|js|html|gz)$”>
    Allow from all
    </Files>

    Would that interfere with the operation of WP Super Cache?

    Thanks

    Tim

Viewing 1 replies (of 1 total)
  • Thread Starter onlyconnect

    (@onlyconnect)

    My observation so far is that this probably does not work with wp super cache full on, but probably does work with wp super cache half on. I’ve put this in with the cache half on for the time being.

    Tim

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP Super Cache] locking down cache with .htaccess’ is closed to new replies.