Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was attempting to change the language URL format from a parameter to different languages in directories, but encountered issues where the settings would not save and the site would revert to using language parameters.

Solution:
1. We verified that there was no redirect file in the root directory where WordPress is installed.
2. We created a redirect file named

wpml.php

, added the necessary Header information, and set up a redirect from the main domain to the '/sk' directory for the Slovak version of the site.
3. After these changes, the site successfully redirected to the Slovak version, and the issue with the blank page on the main domain was resolved.

If you're experiencing a similar issue, we recommend checking for the presence of a redirect file in your root directory and ensuring it's correctly configured. For more information on setting up language directories, please refer to our documentation on Language URL options and redirecting the root page of your site.

Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, 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 you still need assistance, please do not hesitate to open a new support ticket in our 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 16 replies, has 3 voices.

Last updated by Prosenjit Barman 12 months ago.

Assisted by: Prosenjit Barman.

Author Posts
February 22, 2024 at 10:05 pm #15335706

viliamM

anything new? were you able to set different directories and then redirect to sk site?

February 23, 2024 at 5:40 am #15336030

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
I hope this message finds you well.

On the day you provided the credentials, I conducted thorough testing and successfully implemented the redirection to the "sk" version, keeping the directory for the default language option enabled. A detailed response outlining the steps taken was sent to you on the same day. It's possible that this update might have been missed in your inbox.

For your convenience, here is the link to the response sent that day: https://wpml.org/forums/topic/unable-to-change-the-language-setup-to-directories/page/2/#post-15311949

This link contains all the necessary details regarding the redirection process and the outcomes. Please let me know if there's anything specific you would like to review or if you need further assistance with this matter. I'll be happy to help.

Best regards,
Prosenjit