Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are experiencing 404 errors on translated pages and incorrect redirections from default to translated content across multiple websites. Some languages work correctly, while others either show a 404 error or redirect incorrectly.
Solution:
We have identified that this issue may be related to the Rank Math SEO plugin, specifically the 'Remove Parent Slugs' option. This setting can cause issues with the translation of category slugs, leading to 404 errors. We recommend checking our known issues page for more details: https://wpml.org/known-issues/
Please follow the workaround provided on the following errata page: https://wpml.org/errata/rank-math-seo-remove-parent-slugs-option-causes-category-slug-translation-error-404/
We are also working on a permanent fix that will be included in future versions.

If this solution does not resolve your issue or seems irrelevant, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 9 replies, has 0 voices.

Last updated by Dražen 1 week, 5 days ago.

Assisted by: Dražen.

Author Posts
April 17, 2025 at 8:23 am #16942574

bikbulatovaE

Looks good here.

Concerning mixed content, I have another strange issue: 404 errors on translated pages and uncorrect redirection from default to translated content.

Check out my examples, on 2 different websites:
- Example 1 (switch the language with footer button > not a single translated page works: 404 error): hidden link
- Example 2 (switch the language with footer button > some language work, some redirect to a product page, some don't work: 404 error): hidden link

April 17, 2025 at 8:26 am #16942654

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

can you explain further what the issue on hidden link? I have gone to the product and switched to French/German, and it works and opens fine for me.

Regards,
Drazen

April 17, 2025 at 9:07 am #16942883

bikbulatovaE

Like I wrote beofre: some language work, some redirect to a product page, some don't work: 404 error.

French > OK
German > OK
Italian > 404 error
Nederlands > 404 error
Spanish > 404 error
Swedish > 404 error
Polish > Redirection to product page

All pages however exist on the website. They can be all seen on admin side > Products > Categories.

April 17, 2025 at 10:18 am #16943343

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

I checked and it seems to be a known issue with Rank Math strip settings, as you can see these options can cause issues, if you search in our known issue page Rank Math: https://wpml.org/known-issues/

The one related to you is removing parent slugs, please follow the workaround on the next errata page:

- https://wpml.org/errata/rank-math-seo-remove-parent-slugs-option-causes-category-slug-translation-error-404/

We will be releasing and working on a permanent fix in the next versions.

Regards,
Drazen

April 17, 2025 at 12:02 pm #16943772

bikbulatovaE

Just before using this workaround: will this mess up with the permalink structure of any language version of the website?

In case of an update of any plugin, what will happen?

I hate custom stuff because it requires aditional management, as a business owner I can't afford this kind of useless luxe.

Waiting for your answer to take any action.

April 17, 2025 at 12:28 pm #16943889

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

It should not mess with any other structure of products.

Since this is a change in code in RankMath, if you update it and the issue is not fixed, you will need to re-add the workaround code.

Once there is a permanent fix release, I will update you in this ticket, but this will take some time probably months.

Regards,
Drazen

April 17, 2025 at 12:30 pm #16943922

bikbulatovaE

Got it thanks. Applying the code now.

April 17, 2025 at 1:02 pm #16944095

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Great, thanks, I will change the status of this ticket now.

Regards,
Drazen

April 17, 2025 at 1:34 pm #16944246
bikbulatovaE

Sniper support for this one.
The fix works like a charm.
Thanks Drazen.

Not sure about this one, but I have here a last issue to fix. You can create a separated ticket also please. I have also wrote to funnel kit support about this.

Funnel kit checkouts translation issue

I followed the tutorial here: hidden link

I then created 1 testing checkout for the french website version in addition to the checkout already optimized for the default English language. With code snippet installed, etc. Just following the detailed process available in the tutorial.

Then, 2 issues occured:
1/ Elementor can't load the editor for the french version of the checkout due to this error (check screenshot). "Blocked a frame with origin "hidden link" from accessing a cross-origin frame"

2/ Default english language, for some reasons, tries to load the french version of the checkout. If you test the website, add product to your cart, go to checkout, you will see the french checkout (blank page with SEO Title "Paiement").

New threads created by Dražen and linked to this one are listed below:

https://wpml.org/forums/topic/split-funnel-kit-checkouts-translation-issue/

Capture d’écran 2025-04-17 173202.jpg
April 18, 2025 at 6:05 am #16946254

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

I have opened a new ticket:

- https://wpml.org/forums/topic/split-funnel-kit-checkouts-translation-issue/

Regards,
Drazen