- This topic has 3 replies, 2 voices, and was last updated 8 years, 2 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Redirect for non logged in members when they visit a members only page?
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?
Please read thiese instructions:
https://simple-membership-plugin.com/auto-redirect-non-logged-in-users-protect-whole-site/
Thanks for the reply. That looks like it locks the entire site (not just member pages)…will that code lock only member pages?
Thanks
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/