{"id":3630325,"date":"2013-04-05T23:35:54","date_gmt":"2013-04-05T23:35:54","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/custom-post-taxonomy-url-structures\/"},"modified":"2016-08-20T23:28:49","modified_gmt":"2016-08-20T23:28:49","slug":"custom-post-taxonomy-url-structures","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/custom-post-taxonomy-url-structures\/","title":{"rendered":"Custom post \/ taxonomy url structures"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I have a custom post type &#8216;exam&#8217; along with hierachical taxonomies &#8216;math&#8217;, &#8216;english&#8217;, &#8216;physics&#8217; etc. I am trying to achieve a url structure as follows:<\/p>\n<p>example.com\/exams\/math\/math-exam-december-2012<\/p>\n<p>i have rewrite set in register taxonomy but I&#8217;m not sure where to go from here. All i can currently get is the following:<\/p>\n<p>example.com\/exams\/math-exam-december-2012<\/p>\n<p>Could anybody tell me how I would go about inserting the additional url part as above?<\/p>\n<p>Thanks<\/p>\n","protected":false},"template":"","class_list":["post-3630325","topic","type-topic","status-closed","hentry","topic-tag-custom-post-type","topic-tag-taxonomy","topic-tag-url"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3630325","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\/3630325\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=3630325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}