{"id":14342709,"date":"2021-04-20T15:43:51","date_gmt":"2021-04-20T15:43:51","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/primary-product-category-is-not-in-product-url\/"},"modified":"2021-04-20T15:43:51","modified_gmt":"2021-04-20T15:43:51","slug":"primary-product-category-is-not-in-product-url","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/primary-product-category-is-not-in-product-url\/","title":{"rendered":"Primary product-category is NOT in product URL"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>As I see so many of these inquiries, it would be awesome if Yoast would write an article about this matter in it&#8217;s help-section. Including the impact of permalinks, if that matters. I&#8217;ve been reading many articles, sometimes a similar problem, no solutions that works for me.<\/p>\n<p>Would be great if you could help me out here. These are the settings:<\/p>\n<p>WordPress 5.7.1<br \/>\nWoocommerce 5.2.2<br \/>\nYoast SEO 16.1.1<\/p>\n<p>I have 2 types of product-categories:<br \/>\nwww.domain.com\/product\/compatibility\/brand1\/product-a<br \/>\nwww.domain.com\/product\/compatibility\/brand2\/product-d<br \/>\nand<br \/>\nwww.domain.com\/product\/kind-of-product1\/product-a<br \/>\nwww.domain.com\/product\/kind-of-product2\/product-d<\/p>\n<p>When only showing the categories (with some products to choose from) it looks like:<br \/>\nwww.domain.com\/product-category\/compatibility\/brand1<br \/>\nwww.domain.com\/product-category\/compatibility\/brand2<br \/>\nand<br \/>\nwww.domain.com\/product-category\/kind-of-product1<br \/>\nwww.domain.com\/product-category\/kind-of-product2<\/p>\n<p>Sometimes I need to have the &#8216;compatibility&#8217;-category for the specific product, sometimes the &#8216;kind-of-product&#8217;. But I cannot select it,based on the Primary categories and this gives me a lot of problems.<\/p>\n<p>Thanks a lot for helping! Kind regards, Ivar<\/p>\n","protected":false},"template":"","class_list":["post-14342709","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14342709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14342709\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14342709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}