{"id":7145668,"date":"2016-03-07T12:46:31","date_gmt":"2016-03-07T12:46:31","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/category-permalinks-without-the\/"},"modified":"2016-08-31T14:21:05","modified_gmt":"2016-08-31T14:21:05","slug":"category-permalinks-without-the","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/category-permalinks-without-the\/","title":{"rendered":"Product Permalinks without the \/"},"content":{"rendered":"<p>Ok, so i came across something that is bothering me for a few days and i couldn&#8217;t find any solution.<\/p>\n<p>I&#8217;m working on a woocommerce store and i need to duplicate products to several categories. The permalink that most people uses is:<\/p>\n<p>domain.com\/base\/productcategory\/permalink<\/p>\n<p>And this is what i want:<\/p>\n<p>domain.com\/base\/productcategory-permalink<\/p>\n<p>Yes i know i can do this manually but will take me a ton of time and i&#8217;m pron to error. No product have multiple categories so i see this achievable by some sort of function. Can you help me out? Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-7145668","topic","type-topic","status-publish","hentry","topic-tag-permalink"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7145668","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\/7145668\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7145668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}