[Plugin: WP Super Cache] How to properly insert mod_expires rules?
-
Hi,
can somebody please tell me how to properly insert mod_expires rules into my wordpress .htaccess file when using WP Super Cache.
Should I add the code to both htacces files? (The original and the cached directory’s one?)
Where exactly do i place the code?
This is the code i would like to try, is it ok?
<IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 week" ExpiresByType image/png "access plus 1 week" ExpiresByType image/jpg "access plus 1 week" ExpiresByType image/jpeg "access plus 1 week" ExpiresByType image/ico "access plus 1 week" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" </IfModule>
Thanks in advance!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: WP Super Cache] How to properly insert mod_expires rules?’ is closed to new replies.