This topic has 5 replies, 3 voices, and was last updated 10 years by Abe.

  • Author
  • #21047
     shafla
    Participant

    Hi I’m struggling for hours and could’nd find an answer how to change landing page for logged in user.

    I have homepage set up to custom registration page (permalink to this page is http://myadress.com/)
    So if not-logged-in user type my adress he sees registration page.

    But verytime logged-in-user is typing website adress – he goes straight to members area instead of my custom page.

    I tried everything custom plugins, looked for responsible code (couldn’t find it)
    It only worked when in settings->buddypress>pages>directories i set up members to none.

    Please help

    #21085
     Catalin
    Moderator

    Hello,

    Take a look at this link:

    https://wordpress.org/plugins/peters-login-redirect/

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #21091
     shafla
    Participant

    Hi Catalin,
    Thank you very much for your answer,

    Unfortunatelly i’ve already checked out this plugin.
    It works fine but only when a person performs login.
    But when login data is still stored in session. and he types http://myadress.com,
    he goes straight to http://myadress.com/members, which i want to prevent

    Thanks

    #21758
     Abe
    Keymaster

    Well I guess you haven’t expressed what you need very well. You want members not to access the /members page probably.
    So please rephrase what you want to achieve

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #21770
     shafla
    Participant

    When user goes to my website through mywebsite.com – he goes to register page with login button which points him to mywebsite/login
    After login action (when he type username and password) it redirects him to my “home” ( mywebsite.com/home) page.

    So let’s say he closed tab in a browser, and he put the adress (mywebsite.com) in new tab. When he hit’s enter (buddy press knows he’s already logged in) he’s not going to mywebsite.com/home (which i want to achieve), he goes to mywebsite.com/members .

    Thanks Abe

    #22038
     Abe
    Keymaster

    If you want different redirect logic I am afraid you need to develop your own code for that.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Landing page problem.’ is closed to new replies.

Log in with your credentials

Forgot your details?