Support » Plugin: SimpleModal Login » [Plugin: SimpleModal Login] Redirect to referrer

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Eric Martin


    Hello, does the first FAQ not resolve your question?

    If not, let me know.


    Thanks for your response, Eric. Unfortunately, I don’t think the first FAQ applies to my situation. I can get the login/logout to redirect to the referrer when you login directly. My problem is when someone first registers and then logs in immediately. If I try to pass the “redirect_to” when opening the reg form, it makes the reg form get an “empty_both” error when it is submitted. You can see more detail in my original post. Thanks for any help you can offer on this…


    This is similar to my error – login is fine using

    <?php wp_loginout($_SERVER['REQUEST_URI']); ?>

    however when registering it ruturns a blank page.


    sorry if I am a ttl noob, but where do I put the code;

    <?php wp_loginout($_SERVER[‘REQUEST_URI’]); ?>


    I went to the general template.php file, but can’t find the right place.

    Any help would be greatly appreciated.


    nevermind. I figured it out. Thanks for the forum support though.


    Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Sorry, your post was caught in spam. I just cleared it out.

    come on brandonplowe

    thanks for the forum support though?
    and the solution is?

    there are other uber-noobs who would love your help out there

    how i can redirect to my custom page after registration simple login 1.0. 4

    how i can redirect to my custom page after registration simple login 1.0. 4

    I’m having the same problem as dtribble. When I register and then login, I go to the dashboard with a message that I’m using generated password. I used the redirect option when calling wp_login and it works when I just login, but not when logging in right after registration.

    I thought this happened because I was using wp generated password, but it worked correctly with the generated password when I logged in the second time.

    It seems like the redirect option was lost after the registration.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: SimpleModal Login] Redirect to referrer’ is closed to new replies.