You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are 2 languages in my website English and french. I have set English as default language in my website. But in frontend when I open any page by default french language is opened. Could you please check this issue??
WordPress version: 6.7.1
Plugin version: 3.9.3
The text was updated successfully, but these errors were encountered:
Are you sure it's not a caching problem?
Check the URL by opening it in incognito mode. If in incognito mode you see the correct language version, such behavior could be caused by caching settings. Moreover, some caching settings could lead to showing the wrong language even in incognito mode.
For example, if you're using LiteSpeed Cache, you need to add a language vary to your .htaccess file. This way, LiteSpeed will know that it should save separate cached pages for each language:
<IfModule LiteSpeed> RewriteEngine On RewriteRule .? - [E=Cache-Vary:qtrans_front_language] </IfModule>
If you use other caching plugins, like W3 Total Cache, etc., check their documentation on how to add cookie vary qtrans_front_language.
There are 2 languages in my website English and french. I have set English as default language in my website. But in frontend when I open any page by default french language is opened. Could you please check this issue??
WordPress version: 6.7.1
Plugin version: 3.9.3
The text was updated successfully, but these errors were encountered: