• Resolved Lyk

    (@lyk-1)


    Hello!

    We noticed a strange bug when working with WPML that we were able to reproduce in more that 1 sites.

    Steps to reproduce:

    1. Use W3 Total Cache and WPLM with Language URL format = Language name added as a parameter.
    2. The user switches to a different language in the backend (via the adminbar option).
    3. 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 be RewriteBase /

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @lyk-1

    Thank you for reaching out and I am happy to help!
    Also, thanks for bringing this to our attention. I’ll share this with the team so we can try to replicate this and check more details.
    I’ll get back to you as soon as I have more information

    Thanks!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.