don’t cache root url (expert mode)
-
using WPML we have the root url of our domain redirecting to a language subfolder
(domain.com => domain.com/en or domain.com/fr …) based on browser preference (pure php redirect).
In expert cache mode, the root url is cached too and prevents redirects from happening, instead displaying a cached version of one subfolder.
We had to manually edit .htaccess file and add a condition to each rule:
RewriteCond %{REQUEST_URI} !^/$just wondering if we missed a setting or if this feature could be added?
the wp_rejected_uri field doesn’t seem to work in expert mode.
thanks.
- The topic ‘don’t cache root url (expert mode)’ is closed to new replies.