- This topic has 11 replies, 5 voices, and was last updated 9 years, 9 months ago by .
Viewing 12 posts - 1 through 12 (of 12 total)
Viewing 12 posts - 1 through 12 (of 12 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Protected Content – Redirect to login page automatically (instead of message)
Hi there,
Is it possible to redirect users to the login page automatically when they try to view a protected page rather than hide the content of that page and present a message that they should go to the login page. It seems like unnecessary clicks in my case.
Thanks,
Sebastian
You could try and use this plugin: [https://wordpress.org/plugins/shortcode-redirect/]
You’d then nest the plugin’s shortcode inside an eMember protected shortcode.
[emember_protected scope=not_logged_in_users_only]
Let me know if the following auto redirect on protected page addon helps:
https://www.tipsandtricks-hq.com/wordpress-membership/auto-redirect-on-protected-pages-addon-1102
Thank you very much. I’ll investigate both options!
Sebastian
PS I’m getting some errors on your site. A database connection error here: https://www.tipsandtricks-hq.com/wordpress-emember-easy-to-use-wordpress-membership-plugin-1706/
Sebastian
It is fixed now.
I can confirm that the addon is working correctly… it redirects to the login page when a protected page is visited.
I have installed the Auto Redirect on Protect Page Plugin but can’t seem to find where I can set the page to which it redirects. Currently it only redirects to the Login Page but I would like to use a custom page I have created for that purpose.
Thanks
Greg
I will add an option for this in the addon.
ok thanks! How do I get notification when this option is added?
Thanks
Greg Ward
This option has been added. Re-download this addon to see the new option.