How to Redirect a User to a Specific Page After Registration?


How to Redirect a User to a Specific Page After Registration?

How to Redirect a User to a Specific Page After Registration?

Want to redirect the user to a specific page after registration add this snippet to functions.php file to redirect a Successful Registration

This snippet will be useful if you allow people to register on your website. It lets you redirect a user to a specific page after a successful registration. You can add a custom thank you a message on the page.

Add the below snippets to functions.php file for Redirect a Successful Registration to Specific Page

function wps_registration_redirect(){
    return home_url( '/finished/' );
}
add_filter( 'registration_redirect', 'wps_registration_redirect' );

Source

Masum Billah

Authored By Masum Billah

My professional SEO and web development services are designed to deliver page one rankings in the major search engines. For your peace of mind, we only use safe, ethical and white hat SEO strategies! If you’re interested in working with me please drop me a line


leave a comment
Please post your comments here.

<