Do you want to redirect the user to login to your WordPress site to a specific page or Home Page?
Then you land at the right place.
We have posted custom written functions that will easily help you to redirect users to the page you desire after login.
Redirect User To login WordPress
To redirect the user to Homepage or specific page, we have written 2 custom functions.
Have a look at them:
WordPress Login Redirect to Homepage
Just copy the below-embedded code and paste it into your WordPress theme’s functions.php file.
Code Snippets After Login Redirect to HomePage.
Save the file and try to log in and check whether it is working or not.
WordPress Login Redirect to Specific Page
To redirect to the Specific page, we need to
First of all, copy the below code then paste it into your WordPress functions.php file…
…and give the page slug name in the place of to
'blog' where you want to users redirect after successful login.
Code to Redirect users to Specific Page.
Video Guide: WordPres Login Redirect
Hope this guide helped you, Let us know in the comment box.
Don’t forget to share this WordPress Login Redirect guide.