Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP eMember – Is there a way to override redirect after login?

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › WP eMember – Is there a way to override redirect after login?

  • This topic has 4 replies, 2 voices, and was last updated 9 years, 1 month ago by icm.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 14, 2016 at 9:11 pm #13350
    icm
    Spectator

    I want the same thing that this user was asking for:

    https://support.tipsandtricks-hq.com/forums/topic/override-default-redirect-after-login

    Basically, I have a subscription page that I want people to be redirected to when they login except when they are on a certain free content page that is available to all members (free and premium).

    The page is a free video page. When a guest user visits the page they have a choice to register or login. If they register, they get sent to the login page which has a button to the free video page. (This is clunky, but a workaround). Subscribers, upon logging in will be sent to their subscriber dashboard which I don’t want to clutter up with a link to the free video page, so they will have to click to go to the home page then click on the link to the free video.

    Ideally, I’d like a shortcode like [wp_eStore_login_no-redirect] or maybe [wp_eStore_login redirect-url=”https://mydomain.com/freevideo”%5D.

    I guess a similar shortcode for the registration form would be handy too. :)

    Thanks

    March 15, 2016 at 3:53 am #72759
    admin
    Keymaster

    If you append the “no-redirect” parameter in the URL of a page then the member won’t get auto redirected after they log in from that page.

    Are you using section protection shortcode on this page?

    March 15, 2016 at 5:14 pm #72760
    icm
    Spectator

    Yes. I am using section protection to show different things based on whether someone is logged in or not.

    Thank you for the reply. I found “example.com/loginpage/?noredirect=1” from https://www.tipsandtricks-hq.com/wordpress-membership/wordpress-emember-change-log-612

    Unfortunately, it doesn’t seem to work on my site.

    [https://safetyambassadorprogram.com/view-the-free-sap-video-of-the-month/?noredirect=1]

    username: subtest

    password: subtest

    March 16, 2016 at 3:47 am #72761
    admin
    Keymaster

    There was a mistake in there. The parameter should be the following:

    no-redirect

    So the correct example is:

    example.com/loginpage/?no-redirect=1

    Let me know if that works correctly after you make the change.

    March 16, 2016 at 6:46 pm #72762
    icm
    Spectator

    That works. Thank you!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ