{"id":310,"date":"2016-07-05T09:47:24","date_gmt":"2016-07-05T07:47:24","guid":{"rendered":"http:\/\/2016.split.wordcamp.org\/?post_type=wcb_session&#038;p=310"},"modified":"2016-07-05T14:06:50","modified_gmt":"2016-07-05T12:06:50","slug":"custom-url-structures-in-wordpress","status":"publish","type":"wcb_session","link":"https:\/\/split.wordcamp.org\/2016\/session\/custom-url-structures-in-wordpress\/","title":{"rendered":"Custom URL structures in WordPress"},"content":{"rendered":"<p>Possibility to create custom URL structure in WordPress is a very helpful feature, although not a lot of people are familiar with it and WP Rewrite API\u00a0and how to use it.\u00a0Most common scenario where we would need custom URL structure is to create endpoints for content related to multiple taxonomies or custom fields (eg. Let\u2019s say we have post type \u2018Speakers\u2019 and 2 taxonomies \u2013 \u2018type\u2019 and \u2018level\u2019, and we want to create an endpoint like this: \u2018\/speakers\/design\/advanced\u2019). Another example is migrating a site from another system to WordPress with 1000s URLs and mapping those URLs to resolve on the correct new endpoint (very important for SEO).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Possibility to create custom URL structure in WordPress is a very helpful feature, although not a lot of people are familiar with it and WP Rewrite API\u00a0and how to use it.\u00a0Most common scenario where we would need custom URL structure is to create endpoints for content related to multiple taxonomies or custom fields (eg. Let\u2019s &hellip; <a href=\"https:\/\/split.wordcamp.org\/2016\/session\/custom-url-structures-in-wordpress\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Custom URL structures in WordPress<\/span><\/a><\/p>\n","protected":false},"author":7879418,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1472905800,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[307],"footnotes":""},"session_track":[],"session_category":[],"class_list":["post-310","wcb_session","type-wcb_session","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7sGwI-50","session_date_time":{"date":"03. 09. 2016.","time":"14:30"},"session_speakers":[{"id":"307","slug":"andrej-simunaj","name":"Andrej \u0160imunaj","link":"https:\/\/split.wordcamp.org\/2016\/speaker\/andrej-simunaj\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/split.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/split.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/split.wordcamp.org\/2016\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":2,"href":"https:\/\/split.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/310\/revisions"}],"predecessor-version":[{"id":320,"href":"https:\/\/split.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/310\/revisions\/320"}],"speakers":[{"embeddable":true,"href":"https:\/\/split.wordcamp.org\/2016\/wp-json\/wp\/v2\/speakers\/307"}],"author":[{"embeddable":true,"href":"https:\/\/split.wordcamp.org\/2016\/wp-json\/wporg\/v1\/users\/asimac2001"}],"wp:attachment":[{"href":"https:\/\/split.wordcamp.org\/2016\/wp-json\/wp\/v2\/media?parent=310"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/split.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_track?post=310"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/split.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_category?post=310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}