• Hi!

    First of all, thanks for the great Polylang plugin.

    I’m using Woocommerce + Polylang (and WC Vendors), trying to build a marketplace. For now I would like to implement two languages: English (default) and German. I would like to leave the custom post type ‘Products’ untranslated and display all Products on the posts page ‘shop’ – no matter what language is set by the user – but I keep getting a 404 message. In the Polylang settings I unchecked the ‘Custom Post Types’ option, the permalinks are ‘../en/shop’ for the default posts page and ‘../de/shop-de’ for the translated page.

    I’ve searched through the support forum and tried a few things: integration plugin made it worse so I deleted it again.

    Then I saw this thread https://wordpress.org/support/topic/404s-when-translations-are-disabled-on-custom-post-type?replies=11 which sounds exactly like the problem that I am having and changed my Polylang to version 1.7.6.4, but still no products are shown on my posts page. The language of the menus and widgets changes however, no products are found. Weirdly enough though, all products show on my static homepage just fine – on both, the English as well as the German one, just not on the posts page.

    Also in the same thread, post #5 Chouby mentions that, if at any point the custom post type has been set to translatable, it is stored in Polylang’s memory. Could that be the reason why I keep getting 404s? And if so, is there a way to erase that ‘memory’ in Polylang?

    Any advice appreciated, thanks in advance.

    https://wordpress.org/plugins/polylang/

  • The topic ‘Polylang Woocommerce, custom post type return 404 when translation deactivated’ is closed to new replies.