Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Protected Content – Redirect to login page automatically (instead of message)
- This topic has 11 replies, 5 voices, and was last updated 11 years ago by
admin.
-
AuthorPosts
-
October 1, 2014 at 8:30 am #11541
bastywebb
SpectatorHi 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
October 1, 2014 at 4:11 pm #65750wzp
ModeratorYou 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]
October 2, 2014 at 12:06 am #65751admin
KeymasterLet 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
October 3, 2014 at 6:24 pm #65752bastywebb
SpectatorThank you very much. I’ll investigate both options!
Sebastian
October 3, 2014 at 6:28 pm #65753bastywebb
SpectatorPS 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
October 3, 2014 at 6:33 pm #65754October 4, 2014 at 12:00 am #65755admin
KeymasterIt is fixed now.
November 4, 2014 at 1:08 pm #65756Ralph12
MemberI can confirm that the addon is working correctly… it redirects to the login page when a protected page is visited.
January 20, 2015 at 3:25 am #65757Greg Ward
MemberI 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
January 21, 2015 at 10:57 pm #65758admin
KeymasterI will add an option for this in the addon.
January 26, 2015 at 9:55 pm #65759Greg Ward
Memberok thanks! How do I get notification when this option is added?
Thanks
Greg Ward
February 10, 2015 at 3:54 am #65760admin
KeymasterThis option has been added. Re-download this addon to see the new option.
-
AuthorPosts
- You must be logged in to reply to this topic.