{"id":12110323,"date":"2019-11-08T09:57:17","date_gmt":"2019-11-08T09:57:17","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=topic&#038;p=12110323"},"modified":"2019-11-08T10:56:58","modified_gmt":"2019-11-08T10:56:58","slug":"redirect-after-login-57","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/redirect-after-login-57\/","title":{"rendered":"Redirect after login"},"content":{"rendered":"<p>Hi, <\/p>\n<p>I have a member only site using this plugin. I really enjoy the ease of this plugin. I am experiencing some issues; that I see have been asked but not fully resolved, about redirection. <\/p>\n<p>My site is member only, and as my members move along in the site they get higher and higher roles. <\/p>\n<p>So I have a lot of user roles, I wanted to change the initial role for members registering. <\/p>\n<p>I want when people register they become member A, and they see only a few pages, which are extended pieces of my registering process. Then I can make them Member B where they can access the home page and so on. <\/p>\n<p>I was having a lot of issues with that, no matter what after registering the member would be redirected to the home page, even though I have the user role redirect assigned to a different page. <\/p>\n<p>Then I seen on another question you all said the registering role needs to be the subscriber. So I made the initial role the subscriber and the redirection works like a charm, on registration.<\/p>\n<p> If my member logs out, they see my home page, even though I have the subscriber user role logout options redirect back to the login page.  Also if they decide to logout and to log back in as Member A they see my home page. However with user roles etc I have the home page set to only be accessible to Member B. <\/p>\n<p>Full disclosure I am also using user access to restrict access to certain pages. However that plugin [user access] is not being used for the subscriber role. <\/p>\n<p>Please if you can, help and guide me on how I can make my subscriber role redirect to my desired page upon login!<\/p>\n","protected":false},"template":"","class_list":["post-12110323","topic","type-topic","status-publish","hentry","topic-tag-login","topic-tag-redirect"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12110323","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12110323\/revisions"}],"predecessor-version":[{"id":12110536,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12110323\/revisions\/12110536"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12110323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}