WPML – How to fix the language switcher shows wrong URL? Shows same language with double slash //.

View QuestionsCategory: QuestionsWPML – How to fix the language switcher shows wrong URL? Shows same language with double slash //.
admin Staff asked 3 years ago

I have a page that is /en/about/ and translates to /es/about/
When I click to es version, the language switcher goes to /es//about/ (but it should be /en/about/)

1 Answers
Best Answer
admin Staff answered 3 years ago
  1. check there are no other pages with same slug – delete any duplicates of either language
  2. if you use any slug overriding plugins (such as yoast) check slug is sameĀ 
  3. try detach and re-attach translation in wpml