Hi,
We had an issue with EventOn and Polylang where switching language on a event page won't add "var/ri-0.l-L2/" in the URL, causing the titles on the page to be displayed in the default language (french) instead of the intended language (english). We managed to fix this issue by adding a redirection using a Polylang hook.
However, we saw that the pages referenced in Google did not have the "var/ri-0.l-L2/" part either, causing the visitors to have the same problem as before. We checked Yoast sitemap and the URLs did not have this part either.
We fixed the issue by redirecting the visitors, but we would like to know if you had any recommandation on how to include the correct URLs in the sitemap ?
Thank you
- Oct 1,2026 AT 9:05AM - 2 hours ago