Language Switch not working (Configurable Header)

rafaelc35759395

25-10-2019

When the website was created, we have set up the header to allow language switch (auto - with deeplink functionality), so when a person needed to change the website language it would be led to the same page but in the new language. However, all of a sudden, every time we perform a language switch, the person is taken to the homepage.

What is the best way to connect two same pages but with different languages on AEM?

Accepted Solutions (1)

Accepted Solutions (1)

Theo_Pendle

MVP

26-10-2019

I'd love to help you but I think we really need more information first. How does this "deeplinking" work? Basically all you would need to do is take the current URL and switch the language part of the content path (with a check to make sure the resource exist and create a fallback plan, ideally). Can you provide more information about the header component? Java and/HTL code for example?

Answers (0)