Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Reference to a certain page when the user is logged in

Simple Membership Plugin › Forums › Simple Membership Plugin › Reference to a certain page when the user is logged in

  • This topic has 4 replies, 3 voices, and was last updated 2 years, 7 months ago by isi.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 6, 2023 at 7:47 pm #27145
    isi
    Participant

    When the user is logged in, if he clicks again on a link of the “membership-login” page he will see his account information.

    But I want if he is not logged in, then it will show him a login form as usual.
    But if he clicked on this link, and he is logged in, then instead of staying on the page and seeing his account information, instead he will be directed to another specific page on the site.

    Is it possible to do this?

    September 7, 2023 at 12:20 am #27148
    The Assurer
    Moderator

    Are you trying to setup After Login Redirection?
    https://simple-membership-plugin.com/configure-login-redirection-members/

    September 7, 2023 at 7:41 am #27149
    isi
    Participant

    No.
    After someone clicks on the link to log in, I manage to direct them to the page they entered after logging in.

    But I’m talking about a different situation:
    If someone is already logged in, and they click on the login page link.
    Now, when he is logged in, he will see his account details.
    But I want it to be redirected to another page that I define instead.

    I would be very grateful if you could explain to me how to do this.

    September 8, 2023 at 1:35 am #27150
    admin
    Keymaster

    One possible solution could be to edit the “views/loggedin.php” file and add a redirection there. I will try to add an action hook in that file for future.

    The following page has a list of functions that may be useful in certain scenarios:
    https://simple-membership-plugin.com/simple-membership-miscellaneous-php-tweaks/

    Note: this requires some code customization (not simple) so this is beyond the scope of this free support forum. I don’t recommend trying to do the coding unless you are a developer.

    September 8, 2023 at 7:30 am #27151
    isi
    Participant

    I’m not a developer, and I don’t have the knowledge how to do this.

    I would appreciate it if you could add such a function.

    Maybe using the “Login redirection” script

    Thank you.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy