Instead of using home_url, header(location) you can use wp_redirect()
function __my_registration_redirect(){
wp_redirect( '/my-page' );
exit;
}
add_filter( 'registration_redirect', '__my_registration_redirect' );
This might be helpfull
Related Posts:
- How to redirect a sucessful registration to a page template?
- Redirect to custom url when registration fails?
- Restrict Access to wp-login.php
- Redirect user after login/registration globally
- How to redirect action=register link on the lostpassword page to a different link?
- How do I redirect a user when he is logged in after clicking on a menu
- Custom Registration page – prevent redirect to wp-login.php?action=register
- How to auto login after registration? [duplicate]
- How to modify the Register link in the login page?
- How to redirect to home page after registration?
- Redirect if $_Server[‘REQUEST_URI’] is /wp-login.php?checkemail=registered
- Front end user creation form! How do you keep the user on the same page in event of error?
- Redirect users after register (first login) and force submit post
- Login/Register redirect user with message
- Redirect User to login page
- Why I am not able to direct user to my blog section without login?
- redirect to another page if user has registered successfully
- How to redirect new registrars to a custom registration page instead of WP default registration page?
- Redirect after empty register form
- How to disable login and registration pages?
- php refresh current page?
- Host the wp-admin on another domain?
- WordPress localhost site redirect to live site
- WordPress Redirect All HTTP requests to HTTPS via .htaccess
- wp_redirect() function is not working
- Login redirect to previous page
- Prevent access to single post types
- WordPress install enters an infinite loop
- WordPress HTTPS redirect loop
- 301 redirect not working through .htaccess
- handling login/logout redirects
- Using `auth_redirect` : keeps asking me to login even when I’m logged in
- How can I move/redirect single blog posts from one blog to another?
- 302 redirect instead of 301 after switch to HTTPS
- How do I skip wordpress’s 404 handling?
- Facebook like button that redirects?
- Redirect from https to http or from http to https? [closed]
- URL Redirect and Bulk Actions in wp_list_table
- Redirect too many times htacces switching to https
- How to hide that a certain non-WordPress directory exists on the server?
- Redirect “any page/page/number/” to “any page”
- 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
- How to redirect subcategories to a page?
- Migrating from http to https
- 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
- Login redirect problem
- Adding rewrite rule dynamically for search results redirecting to 404 URL
- how to setup .htaccess: redirect/ /%postname% to /%category%/%postname%
- 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
- !is_admin() condition turns true in admin pages
- 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
- wp_redirect and current_user_can issues
- Redirect /home to home.php
- WordPress localhost site always redirect to live site [closed]
- My Cloned WP site keeps redirecting to the old one
- Redirect old query string URLs to new add_rewrite_rule URL
- How can I set up a splash page that is redirected to only one time for the visitor? [closed]
- Temporary Infinite Redirect Loop
- Interested in redirection techniques for one-page themes
- Add new post redirection [closed]
- Blog keeps redirecting to the contact page
- WordPress Pagination – 301 Redirect Issue
- Why do my new WordPress pages redirect to home / staging site?
- WordPress multi domain: page redirect to main domain whenever WordPress do the URL guessing issue
- Puzzled at HTTP/2 301 response header
- date based redirect in wordpress
- How to regenerate RSS feed URL like FeedBurner?
- How to avoid redirect 302 in wordpress to the author pages?
- ErrorDocument 410 gives me back a 302 header
- WordPress Staging site is redirecting to live and lost the child theme
- Mailjet Email Subscription + Redirect w/ Custom Template Fails
- htaccess Redirect 301 doesn’t work. How to debug?
- Having a different landing page for returning users
- How to create multiple Rewrite-Rule for various site in single htaccess?
- change home_url and site_url but don’t redirect to home_url and site_url on load
- How do I skip wordpress’s 404 handling?
- All devices on my network redirect me to an old domain
- how to write 301 redirect code for woocommerce product
- My WordPress site redirects to port 8082
- wp-login.php redirect problem
- How to redirect 404s that generated for css&JS files?
- International characters in slugs to redirect to
- How to Block WordPress from subdomain?
- WordPress redirect to splash page once a day for the first week
- after logout, get_current_user_id still holds value
- Solution for WordPress URL structure changes and 301 redirects?
- How can I redirect foreigners by IP to other URL in WordPress?
- How to change Ugly link?
- Post Migration Site Migration Redirects All Known Solutions Attempted