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

[Resolved] Not logged in user redirected automatically

Simple Membership Plugin › Forums › Simple Membership Plugin › Not logged in user redirected automatically

Tagged: #redirect #automaically

  • This topic has 1 reply, 2 voices, and was last updated 4 years, 9 months ago by mbrsolution.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 3, 2022 at 1:35 pm #23686
    Diego DDR
    Participant

    Good Morning.
    I would like to know if there is a way to automatically redirect a user who tries to access protected content to the login page without displaying the protected content message.

    for example:
    if the user is not logged in.
    when trying to access a post from the list it is automatically redirected to the login page.

    March 3, 2022 at 11:22 pm #23688
    mbrsolution
    Moderator

    Hi, you can check the following documentation which redirects non logged in users.

    https://simple-membership-plugin.com/auto-redirect-non-logged-in-users-protect-whole-site/

    Also check the following documentation and pay attention to the following header Check Current User’s Post Access Permission then Redirect User.

    https://simple-membership-plugin.com/simple-membership-miscellaneous-php-tweaks/

    Let me know if the information above helps you.

    Thank you.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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