Use the lostpassword_redirect
filter:
add_filter( 'lostpassword_redirect', 'wpse127373_lostpassword_redirect' );
function wpse127373_lostpassword_redirect() {
return home_url(); // use the home URL for your site
}
Add this code to your active theme’s functions.php
file or — if you want it to persists across theme changes — add it to a custom plugin.
References
Related Posts:
- How to prevent redirect to ‘About’ after core upgrade?
- How to configure nginx to redirect requests to the uploads directory to the production server?
- Old blog/ and blog/feed/ URLs not working after moving blog to top-level via .htaccess
- Force HTTPS using .htaccess – stuck in redirect loop
- Why does WordPress automatically redirect URLs with the parameter “name=” to a different page?
- Facebook like button that redirects?
- WordPress redirect loop on nginx + apache reverse proxy
- Redirect from https to http or from http to https? [closed]
- Check if post is in draft or pending review?
- Disabling the X-Redirect-By response header
- How to hide that a certain non-WordPress directory exists on the server?
- Redirect “any page/page/number/” to “any page”
- Disabling HTTPS redirection for migration
- Redirect deleted posts to category archive
- WordPress multisite htaccess redirection to new domain
- Can WordPress pass through a call to an external API and return the result directly to the client?
- Redirecting old post url to 404 in wordpress using htaccess
- Migrating from http to https
- How to redirect to home page after registration?
- CNAME vs A Record for WWW – with 301 Redirects
- Any action in wordpress redirects me to home page
- Stuck In a Redirect Loop
- Redirect to Current Page after Login
- Handle regular expression based redirects without .htaccess
- Login redirect problem
- Adding rewrite rule dynamically for search results redirecting to 404 URL
- how to setup .htaccess: redirect/ /%postname% to /%category%/%postname%
- Redirect some of the languages on a multi-language site
- How to redirect to specific url if contains specific text in url?
- Redirecting old permalink structure to new in htaccess
- WordPress redirect, output headers already sent
- Why is there a status message “302 Found” on top of the site?
- !is_admin() condition turns true in admin pages
- How to forward all requests starting with a specific folder name to the same folder
- WordPress index.php seems to perform unwanted redirect 301
- Issue redirecting ‘blog’ to ‘news’ in WordPress using .htaccess
- Custom Login Form – Redirect user to login page if not logged in
- Use two different index pages
- How to redirect from one WP site to another
- Extra Text in URL
- wp_redirect and current_user_can issues
- Redirect /home to home.php
- WP_List_table with form of method=GET redirects to wrong url after submit
- Redirect wordpress website’s subpage to root [closed]
- My Cloned WP site keeps redirecting to the old one
- Can’t do 301 Redirect, Why?
- Redirect old query string URLs to new add_rewrite_rule URL
- WordPress Permalink Problem 404
- How can I set up a splash page that is redirected to only one time for the visitor? [closed]
- Is there way to redirect all blog post pages to Home page?
- Temporary Infinite Redirect Loop
- redirect doesn’t work while using example code
- How to redirect all page requests to a single “goodbye” homepage? [duplicate]
- redirect second domain to static page
- Endless Redirects Suddenly Disable Site
- Redirecting home to /wp-login.php?action=register
- How to redirect a child page to its parent page?
- Redirect to custom login page if not logged in and redirect to home if logged in user try to login, how?
- wp_login_form() redirect same page
- Erase the HTML website and replace it with a WordPress website -301 Redirection
- How to replace the links http to https
- Redirect user after login to prior page through a wp_login hook
- How can force redirected to login for two or more pages to view or access
- WordPress not linking correctly with .htaccess redirect to subdirectory
- Auto redirect to different web page
- WordPress installed on a virtual machine and behind a reverse proxy is redirecting to the VM’s IP address
- Redirect only PDFs in different folders?
- Login redirects to home page and doesn’t log in
- How to redirect?
- How to disable WordPress URL autocomplete / recognition?
- using wp_rewrite but keep the original url in the address bar
- Some links keeps redirecting to another domain
- Redirect user on login using extra field value on login form
- Cannot get 301 redirection in htaccess to work (either Redirect or Rewrite)
- Redirect every link that starts with
- login redirect problem – db charset issue?
- Custom login-form redirect
- Link to another website with the same url path
- Redirect to Page after Login (with variable)
- I have cloudflare flexible enabled, How to redirect to https for Nginx server
- Redirecting page 1 to default permalink
- Redirect problem: How to redirect to the original URL after login
- can’t handle a redirect
- Login Form Redirection
- How can public access to WordPress query (e.g. author=) URLs be redirected?
- Wrong Redirection
- WordPress HTTPS – ‘… better to use HTTP for installation …’
- Rewrite rule for incoming urls
- Hosting the WordPress website on someone else’s web URL
- Detect if request is coming from wordpress conditional statement
- WordPress on a subfolder but accessible from root
- Can I redirect the http request towards an old folder to the homepage using .htaccess file? [closed]
- WordPress Logout Redirect Follow up
- Facebook redirect buton
- How do make WordPress to let alone my static home page?
- how to get my WP site’s IP? [closed]
- Simple function not working on frontend and can’t figure a way to debug it
- Redirected You too Many Times and Homepage Not Loading
- When invalid child page entered, WP redirects to next available page instead of giving Page Not Found
- Redirect non-logged in users to a specific page