[Resolved] URL for page language switch not working…
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing issues where clicking on the Norwegian flag on an English page redirects you back to the English version instead of the Norwegian one, even after updating URLs in the translation, this might be due to improperly updated internal links within WPML. Solution: We recommend using WPML's feature designed to scan and fix all internal links automatically. If you're using a custom language switcher and encountering problems, please follow the steps in this guide to set up your custom language switcher properly: Custom Language Switcher Setup Guide.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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 further assistance is needed, please open a new support ticket at 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.
This page has a link to an english version: hidden link – this works fine, but if I am on the English page and try to click the Norwegian flag to go back to the norwegian version - it just goes to the english version again. I have updated the URLs in the translation. I don't want Site language, but a per page/post translation, in general. What am I doing wrong, and what should I be doing. It is really frustrating to do any work with WPML, it is too complicated. I have no idea about what happens when I change a setting – anywhere. And why has automatic translation with AI been turned on?
Sorry. I had to change location. Did you say anything about how I add the switcher to our footer? I need to say that we are running Divi theme with global footer
Thanks for your reply. If adding the language switcher to the footer isn’t possible, could you please try adding it to the header instead? I’d like to check whether the default language is working correctly on your site.
Thanks for your reply. I’ve enabled the footer language switcher for testing, and it works correctly. You can try it here: hidden link . This indicates that the issue is coming from the custom language switcher you’re using.
Hi
It seems, to me, that the issues we had are resolved. Both language switch and shortcode are now working as intended, so far. Thanks very to Kor for excellent help with our issues. Very pleased with level of support on this. I still find our plugin quite confusing, but will survive I hope >(