• Resolved kubiq

    (@kubiq)


    When I enable translations for custom post type in Custom post types and Taxonomies section, then post type archive page throws 404.

    It’s completely standard custom post type created with register_post_type and has ‘has_archive’ => true

    When translations are disabled for this post type, then everything works

    There is nothing fancy, like translations of slugs or anything like that…

    [ Please do not bump. ]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey, I’ve been facing the exact same problem and just solved this.

    Go to the post edit page, in the sidebar – Language hit the + button to add another language version of the post. Then repeat this for each language and each post.

    It seems the original custom post has no language assigned so you need to do it manually for every single post.

    Let me know if this worked for you as well.

    Thread Starter kubiq

    (@kubiq)

    Actually there was taxonomy with slug “lang” and that was conflict with Polylang
    After I rename/reregister it and change everythgin in database and files to work with new taxonomy, then everything works.
    Thanks anyway

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

The topic ‘Custom post type archives not working’ is closed to new replies.