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.
Redirect New Registered Users to a Specific Page – WordPress. 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 Videos:
Related Posts:
Should I Choose a Hosted or Non-hosted Blogging Platform?
How to make a Go-Back Input button with inline JavaScript
How do I install plugins in WordPress?
How do I create money online using WordPress?
Fake Google reCAPTCHA used to hide Android banking malware
How To Start a Blog – Beginner’s Guide for 2020
How to Fix ERR_TOO_MANY_REDIRECTS on Your WordPress Site
What’s behind this 1,000-character phishing URL?
B0r0nt0K Ransomware Wants $75,000 Ransom, Infects Linux Servers
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
Python 3 Object Oriented Programming
Coordinate Links and Content for Success
Learn RE – Regular Expressions in Python
Paginate Your WordPress Site Without Plugins
Using the Current Year in Your Posts – WordPress