I have a wordpress website that is using the wp default .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php?nocache [L]
</IfModule>
My needs is to set the no-cache
header just for the posts that begin with the same url, for example:
example.com/content/category_to_not_be_cached/foo_post
example.com/content/category_to_not_be_cached/bar_post
but i dont get how to do that using the .htaccess