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] After Login Redirection page url link – include in loggedin.php

Simple Membership Plugin › Forums › Simple Membership Plugin › After Login Redirection page url link – include in loggedin.php

  • This topic has 4 replies, 2 voices, and was last updated 11 months, 2 weeks ago by BillC.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 18, 2025 at 8:27 pm #31659
    BillC
    Participant

    Hi,

    I have configured the After Login Redirection with a page url in Membership Levels.

    This works fine and upon login the member is successfully sent to this page.

    This is a unique page for this Membership level only so its link url is not available anywhere else on the site.

    A small problem occurs if the logged in Member clicks away from this page. Of course they can use the browser’s back button to return to this page but this is not ideal if they have browsed through multiple pages then wish to return to this unique page.

    Is it possible to include a link to this page in the loggedin.php file?

    Logging out and logging in again will of course allow them to re-access the page but it would be so useful to be able to include its link in the loggedin.php details.

    Thanks if you can advise if this is possible.
    Bill

    October 19, 2025 at 1:33 am #31661
    The Assurer
    Moderator

    Have you thought of placing some code at top each page, such that if they are a member of that particular level, the desired link will be shown?

    October 19, 2025 at 11:52 am #31664
    BillC
    Participant

    Thanks for getting back to me, I do appreciate it.

    That would work but the link must only be visible to members of that particular level who have logged in.

    I was wondering if there is a simple way to “get” the page url entered in the “After Login Redirection Page” field in the WordPress dashboard, and then display it at the top of each page – but only when the member has logged in? The displayed link would then disappear when the member logs out.

    October 19, 2025 at 11:47 pm #31667
    The Assurer
    Moderator

    Please checkout this documentation…
    https://simple-membership-plugin.com/apply-partial-section-protection/#partial-protection-for-specific-membership-levels

    October 21, 2025 at 11:26 am #31688
    BillC
    Participant

    Thanks for this but it doesn’t work for me I’m afraid as it only works nicely if there’s just one single Member Level. This solution would mean there being too many protected section links on a page (there’s a lot of membership levels).

    Ideally I just need a hook to the “After Login Redirection” field value entered in the Member Level area in the WordPress dashboard.

    I was hoping it would be a simple solution which could be posted here but appreciate it may be beyond the support scope for the free plugin.

    It would be great if you can help but if not I’ll look for a developer.

    Thanks again for your assistance.
    Bill

  • 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