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.
Author | Posts |
---|---|
March 26, 2025 at 3:00 pm #16863606 | |
harrisonC-2 |
Background of the issue: I have attached a screenshot of the settings page. Symptoms: Questions: |
March 27, 2025 at 11:44 am #16868208 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, Thanks for contacting us. While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly. This seems to be more related to your domain configuration then WPML. I advise disabling WPML and checking if you still have an issue and if both the domains open fine without WPML. If not, then you should recheck your domain configuration. If it works fine, then let us know so we can further help with the WPML issue. Regards, |
March 27, 2025 at 5:20 pm #16869852 | |
harrisonC-2 |
Hi Drazen, The repertoirederessources.acsm.ca points to the site I tested with WPML off and on. It seems that the WPML plugin is not redirecting. Thanks, Derrick |
March 30, 2025 at 8:17 pm #16877046 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Derrick. Please confirm that you followed our guide at the following link on configuring the server to have the domain's Language URL format per language. I also can see a redirection from hidden link to hidden link. Can you please explain why does this happen? Have you configured any unique settings for this to happen? Do you have a homepage set for English language, and is this homepage translated into French? Regards, |
March 31, 2025 at 6:47 pm #16880664 | |
harrisonC-2 |
Hi Itamar, I follow the guide to set up the French domain. There is a redirection on the homepage since you need a user account to access the website. The site's default language is English, but there is a button to switch to French. The whole site has been translated into French. Thanks, Derrick |
March 31, 2025 at 8:13 pm #16880818 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Derrick. I see. How have you set this redirection for users who are not logged in? Regards, |
April 3, 2025 at 4:09 pm #16893937 | |
harrisonC-2 |
Hi Itamar, I need to keep redirection for users who are not logged in since the site's content is private and only accessible by company employees. Do you have any idea how we can fix the issue? Thanks, Derrick |
April 3, 2025 at 6:44 pm #16894621 | |
Laura WPML Supporter since 05/2018
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hi, Itamar is on vacation so I'm covering him. How did you setup the redirection? |
April 7, 2025 at 7:32 pm #16906058 | |
harrisonC-2 |
Hi Laura, The redirection was set up with this code if( !is_user_logged_in() ) : wp_redirect('/wp-login.php'); Thanks, Derrick |
April 8, 2025 at 5:24 pm #16910499 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Derrick. Thanks for sharing the redirection code. We suspect that this code is not playing nicely with WPML. Please check if things work as expected when you disable this redirection code. Please let me know what you have found. If things still do not work as expected, even after you disable the redirection code, please give us access to your site so we can investigate further. If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply. |