I have an issue with a Brazilian Portuguese page in WPML. I ask gppt to resume the issue.
Previously, this page was an independent Portuguese translation with a translated slug. I deleted that page, emptied the trash, and then recreated the Portuguese version as a duplicate of the English page, with this new URL:
скрытая ссылка
The problem is that when I open this new URL, it automatically redirects to:
скрытая ссылка
This is the old Portuguese slug, but without the /pt-br/ prefix, and it ends in a 404 page.
I also tested a Rank Math redirect, then removed it, and cleared WP Rocket cache. The problem still happens.
It seems WPML is still keeping the old Portuguese slug in memory and dropping the language prefix.
Could you please help me understand where this redirect comes from and how to make only the new duplicate URL work correctly?