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] Protect permalinks

Simple Membership Plugin › Forums › Simple Membership Plugin › Protect permalinks

  • This topic has 4 replies, 2 voices, and was last updated 4 years, 2 months ago by Thobie.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 14, 2022 at 7:50 pm #24433
    Thobie
    Participant

    Hello,

    I use the plugin Simple WordPress Membership, but only with the login of already registered users. It works perfectly.

    Within the membership realm, I use The Events Calendar plugin to allow members to register for events.

    The only problem I still have:
    I want to protect the two permalinks of the overview page /events and the single event pages /event/singleevent_1 etc from outside access.

    However, the overview page /events is an archive page, I can’t edit it. The individual event pages are not created under “Pages”, but in the settings of the events. There is also at the bottom of the page the option of SWM to protect the page and make it accessible only to members, but this protection does not take effect. The permalinks are still publicly accessible.

    How do I protect the permalinks within the members area against access from outside?

    September 14, 2022 at 8:09 pm #24434
    The Assurer
    Moderator

    How do I protect the permalinks within the members area against access from outside?

    The question is sort of ambiguous…

    If you are trying to protect the page links from being accessed by members other than whom you want to access them; use Partial or Section protection:
    https://simple-membership-plugin.com/apply-partial-section-protection/

    If you are trying to protect from external access is a WordPress page or post, and NOT a regular website link; you might try using the Full Page Protection Addon:
    https://simple-membership-plugin.com/full-page-protection-addon-simple-membership/

    If what you are trying to protect is a section of your site, that is outside the scope of WordPress & SWPM, then “it depends” on what the content is.

    September 14, 2022 at 10:19 pm #24435
    Thobie
    Participant

    Hello,

    I think the second suggestion is exactly what I am looking for.

    I have installed the addon Full Page Protection and in addition the addon Custom Messages. Then I have completely protected the /event and /events patterns.

    The addon now does exactly what I wanted: After logging in as a member in the member area, one sees the event overview and can go to individual event pages to register. Okay!

    If no one is logged in and you enter the permalinks as an anonymous user who comes to the wesbite without registration, the error message appears that you have to be logged in to see the content. Okay!

    I still modify this error message with the second addon.

    Thank you. Problem solved.

    September 14, 2022 at 10:52 pm #24436
    Thobie
    Participant

    A quick additional question:
    The browser tab shows the following text when an error message is displayed by a visitor who is not logged in:

    This Content is Restricted

    Where can I change this text into German?

    September 14, 2022 at 11:06 pm #24437
    Thobie
    Participant

    I found this code in the page:

    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>
    <meta name=”viewport” content=”width=device-width”>
    <meta name=”robots” content=”noindex, follow”>
    <title>This Content is Restricted</title>

  • 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