M2: How to direct member directly to personal homepage

Looking for a way to allow each user to have their own page. After a user is logged in, I would like to redirect them directly to their own personal page

  • Francis
    • Helper Member

    Hey Nate,

    Welcome to WPMUDEV.

    Ok we need to clarify if you're building

    1. A dynamic page for your clients. Which will be the same link for all users (yoursite.com/dashboard) or

    2. A static page for each of them. (your site.com/user1) (your site.com/user2)

    It's because the method of redirection will be different for both.

  • Nithin
    • Support Wizard

    Hi Nate,

    How are the users logging into your site, is it via Membership login form, or you are using a different login plugin, or default WordPress login?

    Trying to redirect each users to their specific custom pages, based on their User ID, and Membership isn't ideal, as it'll require code for each custom pages. So, if there are 100 users, you'll have to write 100 lines of code etc

    We could give an example custom code on how to do that, if you could share the login page on how how users would be logging into to the website, and please grant support staff access so I can take a closer look, at how the plugin is configured too.

    You can grant access from WPMU DEV > Support > Support Access > Grant Access, or check this manual: https://premium.wpmudev.org/docs/getting-started/getting-support/#chapter-5

    Please let us know once you enable access, so that we could get this sorted. Have a nice weekend. :slight_smile:

    Kind Regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.