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
- Redirect after registration and auto login is not working
- 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
- Redirect page URL to home URL without using a plugin
- Login redirect to previous page
- Why is wp_redirect() preferable to a standard PHP header redirect?
- Redirect to referring page after logging in
- check first time login only
- How to change the default logout link on WordPress Admin
- How to redirect a sucessful registration to a page template?
- WordPress HTTPS redirect loop
- How build a custom login/register form with error handling?
- How to redirect after login, the working way?
- handling login/logout redirects
- Clarification on auth_redirect()
- I want to disable E-Mail verifcation / activation when a user signs up for my WordPress site
- How to redirect all requests to wp-login.php?
- Redirect to custom url when registration fails?
- Action wp_login_failed not working if only one field is filled out
- Using `auth_redirect` : keeps asking me to login even when I’m logged in
- How to customise wp-login.php only for users who are setting a password for the first time?
- How can I do customizations on login, registration and password recovery forms?
- Redirect to custom URL after registering from a page with registration form
- Redirect users after first login
- Stop unwanted WP redirection to new url
- Redirect to current page after wordpress login
- Redirect to “All Posts” after post update or publish in Block Editor
- Redirecting old site links to new site
- Temporary redirect prevents getting $_POST array
- Creating intro page in wordpress
- URL Redirect and Bulk Actions in wp_list_table
- Remove lost password form and URL
- How to redirect only if page doesn’t exists
- Headers already sent – WordPress core
- How to redirect action=register link on the lostpassword page to a different link?
- You do not have sufficient permissions to access this page
- Redirect user after logout
- how to do logout redirect to current url
- Perform a redirect after user action
- How To Only Allow Users To View Their Own Buddypress Profiles? [closed]
- How to redirect user to specific page based on the input password
- Custom Registration page – prevent redirect to wp-login.php?action=register
- Firing a function AFTER redirect
- Change ‘Back To Website’ link in wp-login.php
- Redirect away from login page
- header and wp_redirect not working. cannot modify header information warning
- Code to create a redirection after login?
- How do I redirect /search/ to ?s=
- 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?
- Restricting frontend acess based on user role otherwise redirect to login form
- How to redirect user to a specific page based on username?
- How do I force “users must be registered and logged in” on subsites?
- Redirect if $_Server[‘REQUEST_URI’] is /wp-login.php?checkemail=registered
- Redirect after password update
- Redirect the non-www version of the site to the www
- How to redirect user after login to a specific page?
- How to use Regex to add to a url?
- Redirect first category archive page to normal page
- Stuck In a Redirect Loop
- How to redirect after login getting a variable from url (for example with the language)
- How to set 301 redirection after moving WordPress blog?
- If User is NOT Logged in and Page ID is not 6 – Redirect to Login
- Redirect to Current Page after Login
- How to include error message on login
- Login redirect problem
- Can I change default registration link (without htaccess)?
- Front end user creation form! How do you keep the user on the same page in event of error?
- 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