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] How to insert a Not-LoggedIn redirection?

Simple Membership Plugin › Forums › Simple Membership Plugin › How to insert a Not-LoggedIn redirection?

Tagged: link, loggedout, page, redirect

  • This topic has 1 reply, 2 voices, and was last updated 7 years, 4 months ago by The Assurer.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 5, 2018 at 12:59 pm #16929
    PAt
    Participant

    Hi, I’d like to display a page when a not logged-in user is trying to enter to a page where you need to be loggedin to see it. Right now the plugin displays a plain text but I’d like to create a peage with different elements to be displayed instead.

    Please, is there anyway that I can do that? This is how the not logged in page looks like: http://uptobeweb.com/acaramelados/fichas-sabores/

    And also the text appears duplicated on the body and footer. I had to place 200px padding to the element so it doesn’t appear behind the header menu.

    Kind regards

    December 5, 2018 at 1:25 pm #16930
    The Assurer
    Moderator

    Here is documentation on some PHP coding “tweaks” you can use:
    https://simple-membership-plugin.com/simple-membership-miscellaneous-php-tweaks/
    The first tweak is a conditional check to determine if a person is a logged in member. Simply replace the example message with a PHP header() redirect:
    http://php.net/manual/en/function.header.php
    Remember, as per the referenced documentation (above), that header() must be called before any actual output is sent; which means you might end up inserting it into your theme’s page template file.

  • 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