Lost Password – Redirect Link

WPPizza – A Restaurant Plugin for WordPress Support General Support Lost Password – Redirect Link

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16900
    Thomas Ulbricht
    Participant

      Hello Olly,

      I have a problem with the redirect link when a user has forgotten his passwort. Will there be a way, to redirect the user to a custom url where i can tell him, what happens next … for example something like “you will receive a mail from us with a link to reset your passwort. please cheack you spam folder too… blah blah blah … ” (I think you know what I mean)

      Here is a screenshot to show which link I mean.

      null

      I THink it is generated by wp pizza? If not… you have a hint how i can resolve my problem, because it is not very helful if the user sets a new passwort and just gets a redirect to the form…

      thx a lot !!
      Thomas

      #16901
      Olly
      Admin & Mod

        it’s not a new password link, but a lost password link

        again, wppizza just uses standard wordpress lost password pages.
        if you want other ones, there are plugins for that (search for “theme my login” on wordpress,org for example)

        #16903
        Thomas Ulbricht
        Participant

          Hey Olly,

          thanks for the answer. I checked a lot of plugins and even “theme my login” has no redirect for that …. they all have redirect for login and logout – but nothing for a redirect after wanting a new password. And like i said: I thought it was generated from the wp pizza plugin in any way because of the redirect in the url : https://myurl.com/wp-login.php?action=lostpassword&redirect_to=https://myurl.com/beta/bestellungen/?nocache=1&ccomments&ctel=0561+50349871&caddress=xyz+40&[email protected]&cname=xyz+xyz&gateway=xyz…etc etc (moderated by admin to eliminate personal info)

          Because it included all the fields. And that doesn’t look like a “Standard wp function” … but i will keep looking… maybe there is something out there 🙂

          #16906
          Thomas Ulbricht
          Participant

            To everyone else who will need this :
            this can be a beginning:

            
            add_filter( 'lostpassword_redirect', 'my_redirect_home' );
            function my_redirect_home( $lostpassword_redirect ) {
            return home_url();
            }

            Added the functions.php will it redirect to home … so i guess there can be a redirect to any other url…

            #16910
            Olly
            Admin & Mod

              >and that doesn’t look like a “Standard wp function”
              of course it does. those fields are in the redirect_url. you are reading this wrong…

              i a;so don’t know what redirecting elsewhere (with your filter above) is supposed to achieve.
              the default lost password link is to a page that tells you

              “Please enter your username or email address. You will receive a link to create a new password via email.”
              all you need to know…

              linking to any other page (by using the filter you mention) is completely pointless i would have thought …but that’s up to you of course

              #16911
              Olly
              Admin & Mod

                in any even, feel free to filter and redirect as you like, but I cannot see any reason to change anything related to the “lost password” link in the plugin

                #16912
                Thomas Ulbricht
                Participant

                  Yeah …. basically you are right. But i know that people won’t read that on this page. And when they hit the button to “resend a password” it is better to redirect people on a page where it describes again what happened now. believe me … there are some strange people around 🙂

                  For me it would be no problem … i know what to do … but i would say about 50% of all people would hit the button and then they as “what now?”.

                  Same as here … you read my questions and think “wtf…. ” 😉 😉

                  🙂

                Viewing 7 posts - 1 through 7 (of 7 total)
                • The topic ‘Lost Password – Redirect Link’ is closed to new replies.