This code adapted from: Registration Redirect
add_filter( 'registration_redirect', 'ckc_registration_redirect' );
function ckc_registration_redirect() {
return home_url();
}
This code adapted from: Login Redirect
add_filter( 'login_redirect', 'ckc_login_redirect' );
function ckc_login_redirect() {
// Change this to the url to Updates page.
return home_url( '/Updates' );
}
Add the code to the functions.php theme (or child theme) file.
Related Posts:
- How to auto login after registration? [duplicate]
- Redirect User to login page
- Password change when the user login first time
- Custom login form redirect to external site
- Restrict Access to wp-login.php
- wp-login.php — redirect logged in users to custom URL
- Redirect to login page
- How do I redirect a user when he is logged in after clicking on a menu
- How to modify the Register link in the login page?
- How to redirect to home page after registration?
- Redirect Logged In User if page is wp-login.php and $_Get[‘level’] = X
- Redirect when accessing /login when logged in
- Redirect user to previous page after signup from custom form
- Login/Register redirect user with message
- Redirect outside WP after login
- redirect doesn’t work while using example code
- Why I am not able to direct user to my blog section without login?
- Trying to re-direct users to specific page based on an ACF variable
- Disable redirect to homepage after successful Login, Stay on Current Page
- wp_login_form() redirect same page
- Keep the old referrer after failed login
- Problem in auto login after registration
- Determine user destination on wp-login.php
- Redirect after login when WordPress in subdirectory
- Login redirects to home page and doesn’t log in
- How to redirect new registrars to a custom registration page instead of WP default registration page?
- Login Form Redirection
- Redirect user to login and then to page where they came from
- How to disable login and registration pages?
- Redirect user to original url after login?
- wp_redirect() function is not working
- Login redirect to previous page
- Why is wp_redirect() preferable to a standard PHP header redirect?
- How to redirect a sucessful registration to a page template?
- WordPress HTTPS redirect loop
- How build a custom login/register form with error handling?
- handling login/logout redirects
- How to redirect all requests to wp-login.php?
- Using `auth_redirect` : keeps asking me to login even when I’m logged in
- How can I do customizations on login, registration and password recovery forms?
- Redirect to “All Posts” after post update or publish in Block Editor
- Temporary redirect prevents getting $_POST array
- URL Redirect and Bulk Actions in wp_list_table
- How to redirect only if page doesn’t exists
- how to do logout redirect to current url
- Custom Registration page – prevent redirect to wp-login.php?action=register
- Firing a function AFTER redirect
- Changing “Lost Password Email Link” to custom password reset page
- WordPress Global Redirect
- Why does wp_redirect strip out %0A (url encoded new line character) and how do I make it stop?
- How to redirect user to a specific page based on username?
- Stuck In a Redirect Loop
- Redirect to Current Page after Login
- Login redirect problem
- How to redirect on login to a specific page if a specific meta user is empty
- Adding rewrite rule dynamically for search results redirecting to 404 URL
- wp-admin – 404 after custom login form
- How To Redirect /url.html to /url?
- I get redirected too many times only in wp-admin?
- Remove #wpcf7-f2450-o1 with Contact form 7 redirect [closed]
- Disabling standard registration login with username/email and password?
- HTML Redirect to WP pages
- Custom redirect user after login based on metadata
- wp_redirect () doesn’t work in nginx?
- Custom Login Form – Redirect user to login page if not logged in
- How to redirect from one WP site to another
- Create header.php redirect in WordPress and with WPML
- Load function with login_redirect
- Prevent “/login” to redirect to “/wp-login”
- Missing domain http://./wp-… in redirects
- All URLs Redirect to Main Page
- Redirect certain pages if user logged in
- Force User Login
- wp_login_form redirect
- Date based redirects of posts that no longer exist
- WordPress multi domain: page redirect to main domain whenever WordPress do the URL guessing issue
- Applying ‘middleware’ to a url before redirecting? Does WP have built in mechanism for this?
- How can I prevent caching of wp_redirect?
- Re-Direct ALL Users to the Home Page IF not logged in
- Redirect to dashboard user once you click on Publish page
- ERR_TOO_MANY_REDIRECTS when switching from good database to old database
- Redirect to /404/
- Redirect Category Media ‘URL’ when clicked
- wordpress automatic URL ‘page’ parameter rewrite
- Infinite loop when logging out using custom login form
- Why https://www. SUBdomain is redirected by WP to https://MAINdomain
- WordPress not loggin user and redirecting after custom registration
- redirect_to how to make it simply work with get parameter or similar?
- wp-login.php redirect problem
- How to redirect 404s that generated for css&JS files?
- How to modify the WordPress comes with redirect
- Conditional redirect on login using referring URL
- WordPress Login Page redirecting after failed login
- Redirect after empty register form
- login page not working [closed]
- WordPress redirect to splash page once a day for the first week
- login_redirect for Mobile Web
- Redirect to a subdirectory frontpage using without using a WP plugin- what files to edit, and how?
- Post Migration Site Migration Redirects All Known Solutions Attempted
- Login form- no feedback