How to Redirect Users after Successful Login in WordPress

preview_player
Показать описание
Are you wanting to redirect users to a specific page after they log in to your WordPress site? Depending on the user's role WordPress normally sends them to the dashboard or their profile in the admin area. In this video, we'll cover two methods to redirect users after they successfully log in to WordPress.

This video brought to you by WPForms, take a look at their site here:

=================================
=================================

For the discount, use our code: WPBVIP

For the first method we'll cover, we will be using Peter's Login Redirect plugin found here:

Once you install and activate the plugin you will want to go under Settings, Login/logout Redirects to set up the plugin's settings. In the settings page, you can choose to redirect for a specific user once they log in, or a specific user role and you can check under the plugin settings to decide what capability a user needs to edit the options, we recommend install plugins to limit this to admin users. Don't forget to save the specific sections and the options page itself to ensure that it saves all of your customizations.

For the second method we recommend, we will be using WPForms Pro version to create our login page. Once you install and activate the plugin (you can receive a discount with the code above) you would activate the user registration addon and create a new form, ours will start with the preset User Login Form template. With the form setup, under Settings, Confirmation we will set the confirmation to go to a URL of our choice and save the settings.

If you liked this video, then please Like and consider subscribing to our channel here for more WordPress videos.

Feel free to take a look at the written version of this tutorial here:

Check us out on Facebook

Follow us on Twitter

Check out our website for more WordPress Tutorials
#WordPress #WordPressTutorial #WPBeginner
Рекомендации по теме
Комментарии
Автор

You are a very good teacher, Thank you so much.

adammoumou
Автор

thanks, youll gays worked my problem!

lisandrogomez
Автор

Am I able to have users create an account through a plug-in like Ultimate Membership Pro and then direct that specific user to their own page?

evangauer
Автор

Love your videos. They are so helpful. After someone logs in and gets redirected to a page, how do you make that page restricted so only they can see it? For instance, if i have a page with videos that only someone logged in can see?

cmdigitalmediahawaiii
Автор

Thanks for the video but have tried to use peter's login but it is not redirecting me to my home page.... What might be the problem

YovesMunala
Автор

Great video. Now can we get one that doesn't involve a plugin? Im using the 'login_redirect' hook. My function fires as desired. It just doesn't go to the desired URL. I used home_url('/slug-name') and used the complete URL. Neither worked

SdotFive
Автор

Thank You so much. please when user is in Landing page, is there a way you can change the header and footer in such a way that it will be different from other user. changing UI

hurpeyeahmie
Автор

Hey! I want to restrict specific page to get accessed by the users only who are logged in (login pop up should be shown on that page) Only after login user can access or read that page. So is there any plugin or any other way for it??

anonymouscreature
Автор

Can you please guide me how can I make a different home page(login page) for unlogged users and can redirect them to site's main home page(home page for logged in users)?
Thank You :)

nikshayrana
Автор

Bit what about Wordpress.com users? This seems only to work for .org. I don't wish to change right now so how do I go about installing a privacy policy page/button/pop-up despite this? Thanky you.

Isthatyoudear
Автор

any video about how to redirect to new window after start play the movie or video?

YucheeDy
Автор

How do I make it redirect from a 404 page though? I can’t figure it out.

DJLanta
Автор

How do I bypass the log in screen after the user has received email confirmation

marktaylor
Автор

created user not working for my wbsite
redirecting to home page when im trying to login

digiweb
Автор

how to ask for user registration then redirect them to the page after login..how can you miss that logical step as the user has to create user login before actually logging in

rafatmk
Автор

thanks i just want a download button and then have them sent to a thankyou page after the download - no optin

KevsGuide
Автор

I need HELP please ! I can't spend another 12 hours trying to fix my issue. I have a Login and Logout issue for customers. When you click Login (nothing happens, redirects to my account page) doesn't log you in. It magically Logged me in but now I cannot Logout as a customer. I have tried looking into my pages, my appearance menus list, my plugins, Tried editing it with my theme and nothing... Please Help

benjaminbrunelle
Автор

This has changed now and I can’t manager redirect rules in settings anymore

Iris-qhpl
Автор

How and where can I add User Name and their passwords ? How many Users can I add ? Thanks in advance

AshokElectronicsVideoMAX