{"id":16434739,"date":"2023-02-02T18:35:00","date_gmt":"2023-02-02T18:35:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/redirect-to-the-same-page-after-login\/"},"modified":"2023-02-02T18:35:00","modified_gmt":"2023-02-02T18:35:00","slug":"redirect-to-the-same-page-after-login","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/redirect-to-the-same-page-after-login\/","title":{"rendered":"Redirect to the same page after login"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello people. Studing the viability of using UR on a project, which needs to redirect user to the same page they were at login.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The project will handle diferent content types and user needs to login to view them. So when user arrive on a direct link to an article, they should be redirected back to that article, is it possible?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks in advance<\/p>\n","protected":false},"template":"","class_list":["post-16434739","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16434739","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\/16434739\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16434739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}