跳到内容 跳到侧边栏

標籤: 

本主题包含 0 則回覆 ,有 0 声音 。

最后由 sylvainG-5 2 days, 20 hours前 更新。

协助者:: Shekhar Bhandari.

作者 帖子
2026 年 3 月 25 日 于 上午 4:30 #17924320

sylvainG-5

Hello,

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?