Redirect New Registered Users to a Specific Page – WordPress

You are here: Home » MiltonMarketing Blog » CMS » WordPress » Redirect New Registered Users to a Specific Page – WordPress

Redirect New Registered Users to a Specific Page – WordPress

Redirect New Registered Users to a Specific Page – WordPress: If you require a new user to register on your WordPress site, you might want to redirect them to a specific page upon successful completion. Maybe you want to provide them with some important information or specific download. In the example below the redirect for new registered users is going to be /finished/

Notice how we use forward slash followed by the URL address without placing the full URL like https://www.yourdomainname.com/finished/ this is because if the URL is on the current domain name (yourdomainname.com) there is no need to put full domain name just forward slash followed by remaining URL address.

Linking to a URL in this manner makes loading pages faster as the browser knows its loading a page on the same domain name so it does not have to do a 100% refresh of the page elements, scripts, CSS, etc… We are talking about 50% speed increases in some cases.

Place the code below in your functions.php file:

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

 


Related Posts:

Should I Choose a Hosted or Non-hosted Blogging Platform?

Python String Formatting

How to make a Go-Back Input button with inline JavaScript

How do I install plugins in WordPress?

Paginate Your WordPress Site Without Plugins

CODING WEB PAGES (HTML, CSS, & JavaScript)

Change the Author Permalink Structure – WordPress

Formatting Text in WordPress Posts (Tiny MCE Advanced for WordPress)

Learn Modules and Packages in Python programming

Show Post Thumbnails in RSS Feed – WordPress

WordPress by the Numbers Facts

FAQ Hacked WordPress Website

Learn RE – Regular Expressions in Python

Paginate Your WordPress Site Without Plugins

Using the Current Year in Your Posts – WordPress

By |2019-02-08T19:25:33-04:00March 19th, 2018|Categories: CMS, WordPress|Tags: , , |

About the Author:

I am a loving father, & husband. I am a computer enthusiast. I have used and enjoyed computers since I was young and I enjoy teaching young minds how to code, because it teaches them how to think. Today with YouTube, and social media garbage our youth are losing the ability to think on their own and solve problems. I believe this is a serious epidemic as kids today dont understand that technology is a tool. This tool is being abused, and its underlying effects are taking its toll on kids behaviour, and learning.