🌐WEBFINET

HURRICANE WATCH 2022 | SMART NEWS

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

webfi-How to Redirect Users after Successful Login in WordPress



Black Friday and Cyber Monday deals for WordPress: https://www.wpbeginner.com/wordpress-black-friday/
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:

=================================
https://wpforms.com/
=================================

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:

https://wordpress.org/plugins/peters-login-redirect/

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.
https://www.youtube.com/subscription_center?add_user=wpbeginner

Feel free to take a look at the written version of this tutorial here:
https://www.wpbeginner.com/plugins/how-to-redirect-users-after-successful-login-in-wordpress/

Check us out on Facebook
https://www.facebook.com/wpbeginner

Follow us on Twitter
http://twitter.com/wpbeginner

Check out our website for more WordPress Tutorials
http://www.wpbeginner.com
#WordPress #WordPressTutorial #WPBeginner

source

17 Comments

  • Chathuranga Lakmal on January 13, 2020

    This is so useful thank you

  • Beata Go-Kra on February 21, 2020

    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.

  • Mark Taylor on March 7, 2020

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

  • Yoves Munala on April 25, 2020

    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

  • Lisandro Gomez on April 25, 2020

    thanks, youll gays worked my problem!

  • Benjamin Brunelle on April 30, 2020

    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

  • Chat Kay on May 6, 2020

    that was usefull i subscribe for you

  • Evan Gauer on May 14, 2020

    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?

  • Anonymous Creature on July 1, 2020

    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??

  • your appdeveloper on July 10, 2020

    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

  • Ashok Electronics, VideoMAX on August 1, 2020

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

  • DJLanta on October 26, 2020

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

  • Nikshay on November 5, 2020

    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 🙂

  • CM Digital Media Hawaiii on December 29, 2020

    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?

  • rafat on January 8, 2021

    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

  • Adam Moumou on February 10, 2021

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

  • digi web on August 23, 2021

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

Since 2009- Live News and Entertainment

🌐WEBFINET

🛡GET YOUR OWN Cyber Data Servers

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
error: WEBFINET SECURITY IS ON