{"id":2708,"date":"2020-04-07T13:30:56","date_gmt":"2020-04-07T12:30:56","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=2708"},"modified":"2022-02-17T07:13:48","modified_gmt":"2022-02-17T07:13:48","slug":"template_redirect-etc-not-called","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/wordpress\/debugging-wordpress\/issues-degugging-wordpress\/template_redirect-etc-not-called","title":{"rendered":"template_redirect etc not called"},"content":{"rendered":"\n<p>You load a page expecting template_redirect or some other wordpress hook to be called but it isn&#8217;t.<\/p>\n\n\n\n<p>template_redirect is not fired for wp admin pages.<\/p>\n\n\n\n<p>The page is being cached.  Some simple webspace hosts do this at the server level even though you explicitly say the page can&#8217;t be cached in say the header of pages and your site uses a database!  You need to tell them to turn of caching for the site  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>You load a page expecting template_redirect or some other wordpress hook to be called but it isn&#8217;t. template_redirect is not fired for wp admin pages. The page is being cached. Some simple webspace hosts do this at the server level even though you explicitly say the page can&#8217;t be cached in say the header of [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[209],"tags":[],"class_list":["post-2708","post","type-post","status-publish","format-standard","hentry","category-issues-degugging-wordpress"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/2708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=2708"}],"version-history":[{"count":4,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/2708\/revisions"}],"predecessor-version":[{"id":3743,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/2708\/revisions\/3743"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=2708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=2708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=2708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}