Bug with Cache purge and WPML
-
Hello!
We noticed a strange bug when working with WPML that we were able to reproduce in more that 1 sites.
Steps to reproduce:
- Use W3 Total Cache and WPLM with Language URL format = Language name added as a parameter.
- The user switches to a different language in the backend (via the adminbar option).
- User clears the cache via the “Purge All Caches” option of w3tc (again from the abmin bar).
This is creating a wrong
RewriteBase
in the .htacess rules that are related the the page caching....
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase ?lang=el
RewriteRule ^ - [E=W3TC_QUERY_STRING:%{QUERY_STRING}]
...
...The RewriteBase line
RewriteBase ?lang=el
should beRewriteBase /
Thank you
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.