Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter MijnReiservaring

    (@mceblackbird)

    Hello @chouby ,

    I would like to receive some help with my problem since it definitely seems to be related to Polylang and I can’t find any solution.

    I assigned each of my existing categories to a certain parent category. Example:

    • Asia > Myanmar > [post-name]

    After doing this, Polylang adds a -en or -nl (depending on the language) to the slug of the child category (myanmar-en), ruining my URL structure and resulting in 404’s.

    It’s impossible to remove these language codes from the slugs, even if I set the assigned parent category back to none.

    This shouldn’t result in an automatic slug change and I haven’t seen other people that are not using Polylang with the same problem, so my guess is it’s related to the plugin.

    Could you please assist me in solving this because this has disastrous effects on my SEO.

    Thread Starter MijnReiservaring

    (@mceblackbird)

    Thanks for your reply.

    I agree it’s a nice addition to add the language code instead of -2 to the same slugs.

    Before, I only had Polylang add this language code to category slugs with the same name, just like you mention. Example:

    • myanmar
    • myanmar-en

    Only, this time it still adds the language code to my existing category slugs after I updated them (for example, after adding a description). I can’t find the duplicated category slug anywhere and never had this problem before. Example:

    • italie-nl
    • italy-en

    As you can see, the country names have a different translations and shouldn’t get a language code added to them. But it’s not possible to remove it either.

    I’m trying to figure out what could be the source of this problem. Would you have an idea where to find the solution and possible duplicate slugs?

    Thanks!

    MijnReiservaring

    (@mceblackbird)

    Hi there,

    I have the same problem on my website. Every time I update one of my existing categories, it automatically adds the language code to that specific category, even if the slug is completely unique.

    I never had this problem before, because my categories translate to an identical slug (I use country names).

    How to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)