Skip Navigation

Open

Topic Tags: Compatibility

Symptoms

If you translate your post taxonomy with Remove categories prefix enabled in Yoast’s category URL settings, visiting the translated category will redirect to the default language or display a 404 error. It may also affect canonical URLs.

Workaround

Do not to translate the category slug. The untranslated term won’t be visible in the URL anyway when Remove categories prefix is turned on.

2 Responses to “Yoast SEO: Turning on “Remove categories prefix” causes issues with secondary languages”

  1. Hi

    For me the workaround does not work. The default language works fine, the translations are broken. I did not translate the category slugs.

    The links in the language switcher seem to produce the right links to the corresponding URLs, but I get 404 errors on all category archives, except for the default language.

    I have the languages mapped to different domains and subdomains:

    default language -> domain_A.com (works as expected, no prefix, correct links)
    translation 1 -> hreflang1.domain_B.com (404 on category archive)
    translation 2 -> hreflang2.domain_B.com (404 on category archive)

Leave a Reply

Please leave here comments about this page only.
For technical support and feature suggestions, head to our forum. We are waiting there!

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>