Help Needed: 404 Error on WooCommerce Categories with Polylang

[ad_1]

Hi there,

I’m running into an issue on my WooCommerce site after installing the Polylang plugin. When Polylang is active, all my category pages are returning 404 errors. If I disable the plugin, the pages work just fine.What I’ve Got Set Up:

  • Shop Page Name: Services Hub
  • Shop Slug: services-hub
  • Product Permalinks: Custom base set to /product/
  • Polylang Settings:
    • Language is set from the directory name in pretty permalinks (like /en/).
    • I’ve removed /language/ in the URL for pretty permalinks and checked the option to hide the language for the default language.

What I’ve Tried So Far:

  • I re-saved the permalinks and tried different settings for the custom base.
  • I changed the permalinks to /%product-category%/, but it didn’t work.
  • I made sure there’s no conflict with other slugs.
  • I cleared all caches and deactivated other plugins, but the issue persists.
  • I also toggled the “Hide URL language information for default language” option in Polylang to see if that helps, but no luck.

What’s Happening:

  • With Polylang enabled, category pages show a 404 error.
  • Without Polylang, everything works as expected.

I’d love some help figuring this out. If there’s something I’m missing or a specific setting that needs adjusting, please let me know!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer