{"id":19010923,"date":"2026-09-03T16:54:31","date_gmt":"2026-09-03T16:54:31","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/content-restriction-unwanted-redirection\/"},"modified":"2026-09-03T16:55:08","modified_gmt":"2026-09-03T16:55:08","slug":"content-restriction-unwanted-redirection","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/content-restriction-unwanted-redirection\/","title":{"rendered":"Content Restriction Unwanted Redirection"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When setting the post or page metabox to configure a restriction, it still redirects to the homepage even when &#8220;What happens when users without access try to view the post?&#8221; is set to Show Access Restricted Message. And when Redirect User is set and a custom redirection URL is entered, it still redirects to the homepage.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Any ideas what could be going on here? Thank you<\/p>\n","protected":false},"template":"","class_list":["post-19010923","topic","type-topic","status-publish","hentry","topic-tag-access-restriction","topic-tag-metabox"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19010923","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\/19010923\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19010923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}