• Resolved Mario Beach

    (@mariobeach)


    Hi, it seems the plugin does not work with Translatepress. I could not find any post in regards to Translatepress.

    This is how my cpt location urls are:

    domain.com/location/french_post_slug
    domain.com/en/location/english_post_slug

    After removing base

    domain.com/french_post_slug
    domain.com/en/english_post_slug <– Returns 404

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Mario Beach

    (@mariobeach)

    I ended up using this code https://www.wpexplorer.com/remove-custom-post-type-slugs-in-wordpress/ and it worked perfectly with TranslatePress.

    It would still be nice for the others that prefer using your plugin that it works with TranslatePress. https://www.ads-software.com/plugins/translatepress-multilingual/

    It’s not the most popular translation plugin but I think it should. Living in a bilingual area, I tried many and it is definitively the easiest of all.

    wpexplorer

    (@wpexplorer)

    @mariobeach – I’m glad the code from my guide worked for you. Awesome ??

    Plugin Author kubiq

    (@kubiq)

    Hello,

    this plugin is compatible with Polylang and WPML, but I’ve never used and never tested it with Translatepress.

    Are you using free or paid version of that Translatepress?

    Make sure that your current solution works with hierarchical URLs and parameters, etc… It’s pretty complicated to make it works also with custom rewrite endpoints, taxonomies terms in URLs, etc… but if that code snippet works for you, then good for you ??

    • This reply was modified 7 months ago by kubiq.
    Thread Starter Mario Beach

    (@mariobeach)

    I’m using the Pro version but it’s an additional plugin to enable pro features so the free plugin must do the same thing alone.

    Plugin Author kubiq

    (@kubiq)

    I’ve just tested Remove CPT base with Translatepress and everything works for me, even for hierarchical posts: https://test.kubiq.sk/sk/test-1/test-1-1/

    There must be some problem in your CPT – the way how it is created or some arguments that you use in it… you can try that alternation checkbox or try to toggle with_front argument in your CPT

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘TranslatePress issue’ is closed to new replies.