This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where the Litespeed cache crawler is only caching pages in the main currency (USD) and not in the secondary currency (CAD), despite having set the
wcml_client_currency
cookie to capture both currencies.
Solution:
We recommended the client to temporarily allow all currencies to be accessible from any location to test if the correct cached version is then served. Additionally, we conducted a test using cURL to ensure that the CAD currency pages are being cached when accessed directly with specific cookies set:
curl -X GET "https://kolekin.com/product/48-x-36-floater-frame-walnut-1-5-depth/" \ -H "Cookie: wcml_client_country=CA; wcml_client_currency=CAD; wcml_client_currency_language=en" > output.html
The test confirmed that the page with the CAD currency was correctly received. We have also communicated with LiteSpeed's support to address this known issue and are awaiting their feedback.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please do not hesitate to open a new support ticket for further assistance at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 17 replies, has 0 voices.
Last updated by 2 months, 2 weeks ago.
Assisted by: Carlos Rojas.