Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 voice and has 0 replies.

>
Author Posts
July 6, 2025 at 1:15 pm #17204994

vitoG-4

Background of the issue:
I am trying to use AffiliateWP’s Affiliate Portal with WPML in multiple languages. The portal uses internal sub-routes like /affiliate-area/network and /affiliate-area/stats, which are React views rendered inside a single translated page. The issue can be seen at hidden link.

Symptoms:
I expected to see the Affiliate dashboard view corresponding to /network inside the Affiliate Portal, but instead, I am redirected to an unrelated documentation page with a similar slug. This issue seems to occur because WPML matches the slug 'network' with another page in the same language. It sometimes happens in English and with other routes like /stats or /creatives, but not consistently.

Questions:
Why does WPML match the slug 'network' with an unrelated page?
How can I ensure the correct routing for internal sub-routes in the Affiliate Portal?