ExpiresDefault error message – remove from .htaccess file?
-
Just updated to Version 1.1.4 today and getting an error:
ERROR 4010: In .htaccess file found one unexpected cache rule
ExpiresDefault
lThis is what I currently have in my .htaccess file (which I thought is helpful to speed test results and performance).
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access plus 1 year”
ExpiresByType image/jpeg “access plus 1 year”
ExpiresByType image/gif “access plus 1 year”
ExpiresByType image/png “access plus 1 year”
ExpiresByType text/css “access plus 1 month”
ExpiresByType application/pdf “access plus 1 month”
ExpiresByType text/x-javascript “access plus 1 month”
ExpiresByType application/x-shockwave-flash “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 year”
ExpiresDefault “access plus 2 days”
</IfModule>
## EXPIRES CACHING ##What’s the reason in removing this from my .htaccess file? Does Litespeed handle this in the plugin vs .htaccess? Thx.
Dave
- The topic ‘ExpiresDefault error message – remove from .htaccess file?’ is closed to new replies.