• A lot of plugins modify the URL and add a language tag to it, in my case, qTranslate. qT handles multilingual content and (in pre-path mode) changes the url to something like /lang/year/month/title/.

    Now WP Super Cache works out of the box, but it seems to only use one file for both languages. So whenever the page is visited in the other language, the Cache file get overwritten. The reason is most probably that qT redefines REQUEST_URI before SC reads it.

    I really like to see both working together, so that SC would create subfolders with /lang/ and have cache files there for each language.
    qT has a global var called $q_config and it has an subarray
    $q_config[‘url_info’][‘original_url’] that contains the originial unmodified url. So I thought that replacing all request_uri with the var should fix all problems, but that just broke everything.

    Basically, as I understand SC correctly, it should only see if qT is enabled while creating the cache file and create the lang subdir if needed. the htaccess should work with them just fine.

    Any ideas on how to get them both working together correctly?

The topic ‘[Plugin: WP Super Cache] Handling multilingual URLs’ is closed to new replies.