• I am having the weirdest issue with my product category permalinks. For some reason, parent categories all 404. So a page like

    https://shopyourplace4.com/type/fireplace/electric/

    returns the shop like it should, but the parent category

    https://shopyourplace4.com/type/fireplace/

    is just a 404. Even clicking the link from the “categories” backend the result is the same. So the woocommerce backend is recognizing the category, the category has products (and subcategories) in it, and this is definitely the correct URL for the category, but for some reason the URL 404s.

    Anyone have any idea how to fix short of building a parent category landing page and using a redirect plugin??

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • That is the way that WordPress works. I call it the taxonomy root, and it does not generate a page. There is no query for that, because the query is about posts, not terms.
    In my theme, I supply a taxonomy root page template, so you can make a page with the correct slug, and it will use that to get the list of all the terms in the taxonomy, linked to their normal taxonomy term (WordPress generated) pages.

    In case you want to see the code, my theme is https://wordpress.org/themes/twenty8teen

Viewing 1 replies (of 1 total)
  • The topic ‘Issue with Product Category Permalink’ is closed to new replies.