WPML language setting keeps changing


There are three options for toggling languages in WPML:

– Subfolder (e.g. domain.com and domain.com/fr)
– Language parameter (domain.com/?lang=fr)
– Separate subdomain (e.g. fr.domain.com)

We want to use the first option. However, every time I log into WordPress, the second parameter is always selected. Sometimes I notice it and make the change. But more often than not, I don’t realize it and publish. Then I (or someone else) realizes what happened and I have to go back and fix it.

Does anyone know why this happens? I’m trying to figure out if it’s a bug or if someone is doing it inadvertently. If there is a way to know when that change takes place (through logs or something) I would like to know also, that way I can track down the culprit and plug the hole permanently.



1 Comment
  1. Probably a cache issue. Clear all your cache after saving your setting change.

    I just experienced something similar with Redirection plugin where my new redirect doesn’t appear, logs don’t update, and I have to clear cache to see changes that exist in the database.

    I think it’s related to PHP opcache.

    Could also be issue where it’s trying to write to your .htaccess file but can’t because permission is not set to 644. But I’m not sure if WPML needs to change htaccess or not, just guessing.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer