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] Redirect for non logged in members when they visit a members only page?

Simple Membership Plugin › Forums › Simple Membership Plugin › Redirect for non logged in members when they visit a members only page?

  • This topic has 3 replies, 2 voices, and was last updated 8 years, 2 months ago by The Assurer.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 14, 2018 at 5:23 pm #16378
    JMan2323
    Participant

    I see a code to use to lock down the entire site…but what if I want to redirect to a specific URL (such as sending them to the join page) when non members visit one of the member protected pages….how can I accomplish this?

    September 14, 2018 at 5:27 pm #16379
    The Assurer
    Moderator

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

    September 15, 2018 at 3:56 am #16385
    JMan2323
    Participant

    Thanks for the reply. That looks like it locks the entire site (not just member pages)…will that code lock only member pages?

    Thanks

    September 15, 2018 at 4:55 am #16386
    The Assurer
    Moderator

    If you are a competent PHP coder, you can use some of these tweaks to modify the page template of your theme; so that only members with the proper membership level can view protected pages, or get redirected:
    https://simple-membership-plugin.com/simple-membership-miscellaneous-php-tweaks/

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