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 thread is resolved. Here is a description of the problem and solution.

Problem: 404 on Category page

Solution: The Yoast SEO Pugin was hiding thr "/category/" from the url - Rewrite rules didn't work, from the menu I ended up being redirected to .../kategorie/... and from there to a non-existant page

This topic contains 2 replies, has 2 voices.

Last updated by julianL-7 5 months, 3 weeks ago.

Assigned support staff: Andreas W..

Author Posts
April 26, 2019 at 3:50 am #3687503

julianL-7

I have a category structure:

- root
- - Travel
- - - Oceania
- - - - Fiji

Within Fiji there is one post "Nadi...". The original URL is hidden link

In the German translation you will find the post (correctly) under hidden link

All categories translated, all URL-parts translated, hierarchy intact - perfect.

The problem however is: In the German translation, the category pages "in between" give me a 404. E.g.:

hidden link -> working
hidden link -> working
hidden link -> Page not found
hidden link -> Page not found

In the original (English) version, all of them are working.

April 26, 2019 at 4:52 am #3687747

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you for contacting WPML Support.

Did you try to go to WPML -> Taxonomy Translation and confirmed that all the categories are translated? Further, you will find here the Hierarchy Synchronization tool that should help you to sync your taxonomies with one click.

Let me know if this solved the issue.

Kind regards
Andreas

April 26, 2019 at 5:57 am #3687943

julianL-7

My issue is resolved now. Thank you!

Problem apparently was:
- I have yoast hiding my "/category/" from the url
- I had wpml translate the category slug "category" to my local languages (eg. "/kategorie/")
- Rewrite rules didn't work, from the menu I ended up being redirected to .../kategorie/... and from there to a non-existant page