Failing to create .htaccess inside page_enhanced
-
Hello w3tc team,
I’m having some issues with a blog inside a Multisite installation. The issue is that after publishing an entry, the homepage tries to download a download.gz (which is the compressed/gziped html).
I did some troubleshooting and found that the .htaccess file inside the page_enhanced directory was missing, and it’s been doing the same for a couple of days.
The strange thing is that it only happens on this blog. Difference is the permalink for this blog ends with .html
I checked:
Directory permissions/owner.
W3TC was an older one, I just upgraded it today to the latest version.
main wordpress .htaccess file is not writeable.Do you have any idea of what could be causing this issue?
This is the .htaccess file that’s suppose to be inside the page_enhanced directory:
# BEGIN W3TC Page Cache cache AddDefaultCharset UTF-8 FileETag MTime Size <IfModule mod_mime.c> AddType text/html .html_gzip AddEncoding gzip .html_gzip AddType text/xml .xml_gzip AddEncoding gzip .xml_gzip </IfModule> <IfModule mod_setenvif.c> SetEnvIfNoCase Request_URI \.html_gzip$ no-gzip SetEnvIfNoCase Request_URI \.xml_gzip$ no-gzip </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html M60 </IfModule> <IfModule mod_headers.c> Header set Vary "Accept-Encoding, Cookie" Header set Pragma "public" Header append Cache-Control "public" </IfModule> # END W3TC Page Cache cache
- The topic ‘Failing to create .htaccess inside page_enhanced’ is closed to new replies.