{"id":100989,"date":"2016-11-24T12:45:03","date_gmt":"2016-11-24T11:45:03","guid":{"rendered":"https:\/\/nl.wordpress.org\/support\/topic\/single-redirect-naar-archive\/"},"modified":"2016-11-24T12:45:24","modified_gmt":"2016-11-24T11:45:24","slug":"single-redirect-naar-archive","status":"publish","type":"topic","link":"https:\/\/nl.wordpress.org\/support\/topic\/single-redirect-naar-archive\/","title":{"rendered":"single -&gt; redirect naar archive"},"content":{"rendered":"<p>In een website heb ik categorie\u00ebn gebruikt voor verschillende archive templates. Het is niet de bedoeling dat iemand ooit \u00e9\u00e9n enkele post in een browser ziet.<\/p>\n<p>Ik zou graag zien dat, indien iets of iemand een enkele post op zou vragen waarvoor normaal het single.php bestand wordt gebruikt, je via wp_redirect wordt doorverwezen naar het archive. De url zou dan iets zijn als www.website\/category\/mijn-categorie\/<\/p>\n<p>Ik vermoed dat dit niet zo heel erg moeilijk is, maar ik kom er niet uit (vanwege gebrek aan WordPress kennis).<\/p>\n","protected":false},"template":"","class_list":["post-100989","topic","type-topic","status-publish","hentry","topic-tag-archive","topic-tag-redirect","topic-tag-single"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/100989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/100989\/revisions"}],"predecessor-version":[{"id":100990,"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/100989\/revisions\/100990"}],"wp:attachment":[{"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=100989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}