Supercache wp-content/cache/.htaccess Permission Denied
-
Hi all,
The WP Supercache plugin install notes suggested adding a .htaccess file to the wp-content/cache folder, which looks like this:
# BEGIN supercache <IfModule mod_mime.c> <FilesMatch "\.html\.gz$"> ForceType text/html FileETag None </FilesMatch> AddEncoding gzip .gz AddType text/html .gz </IfModule> <IfModule mod_deflate.c> SetEnvIfNoCase Request_URI \.gz$ no-gzip </IfModule> <IfModule mod_headers.c> Header set Cache-Control 'max-age=300, must-revalidate' </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html A300 </IfModule> # END supercache
(This controls expiration headers and also compression settings.)
I uploaded this file to the wp-content/cache folder but in testing I wasn’t certain this file was being processed correctly, so I wanted to remove it and/or modify it. Unfortunately I see this message in Filezilla (FTP client):
550 CHMOD 666 .htaccess: Operation not permitted
I was able to upload the file originally, so why am I now blocked from uploading/renaming/deleting this file? Changing permissions on the wp-content/cache folder is also denied.
Is there something obvious I’m missing? Have I blocked myself through the various settings required by Supercache?
Thanks
- The topic ‘Supercache wp-content/cache/.htaccess Permission Denied’ is closed to new replies.