This thread is resolved. Here is a description of the problem and solution.
Problem: The client is trying to change the URL slug for different language versions of their site using WPML, but is unable to do so because WPML recognizes the folder "magazine" as the root URL, which cannot be translated directly within WPML. Solution: We recommend manipulating the URL slug through the server's .htaccess file to achieve the desired translations. This approach requires custom coding and might need consultation with a developer. Alternatively, using subdomains for each language version (e.g., magazin.kunstloft.de, rivista.kunstloft.it) could be a viable solution, as these would be set on the server side and can be assigned to the respective languages, thus bypassing the issue with the root URL.
If this solution does not apply to your case, or if it seems outdated, please check the related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. Should you need further assistance, we highly recommend opening a new support ticket or visiting the 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.
Background of the issue:
I am trying to change the URL slug for different language versions of my site using WPML. I have already set up String Translations and other translation setups.
Symptoms:
Despite the setup, I am unable to change the URL slug as needed for different language versions of the site.
Questions:
Where can I change the URL slug to match the language-specific versions like changing hidden link to hidden link
How can I modify the URL slug from hidden link to hidden link
Thank you for contacting WPML Support, I will gladly help you.
From the image you shared, I understand that your WordPress installation is in the folder "magazin" of your root folder, is that correct? (hidden link and hidden link seems to be 2 different websites)
In such cases, WPML doesn't offer an option to translate the URL slug as the folder "magazin" is recognized as a root URL (if you see the URL on the option "Different languages in directories", you'll see that the main website URL is "hidden link").
You could try if it might be possible to manipulate/translate the URL via the .htaccess file but I am not sure that it would work and that would require some custom coding which doesn't fall under the purpose of this support forum. In case you feel that you need help with this, I recommend that you hire a developer or a WPML contractor: https://wpml.org/contractors
Yes you are correct, it is two different domains. So, the scenario is we have several domains already that is multilingual and all are individually made e.i.
As mentioned in my previous reply, WPML recognizes the folder "magazine" on your server as the root folder/URL, and that can't be translated on the WPML side.
The only possible solution might be to manipulate the "/magazine" slug through the .htaccess file, which is related to the server-side configuration. For this, you would need to consult with a developer and check if that works and if it's the best solution.
To make this possible via WPML you can use subdomains like this for example:
- magazin.kunstloft.de
- rivista.kunstloft.it
-...
As the subdomains would be set on the server side before being assigned to the language, they would be already translated as needed in this case.