WordPress Redirect After Login By User Role, User Name, User Level & More

preview_player
Показать описание


Unless you're using a plugin, the default WordPress redirect after login takes your logged in users to their profile in the WordPress admin dashboard, which is bad.

If you have a membership plugin or LMS setup then a logged in user will go to one of their account pages on the front end of the website, which is better.

Using the free plugin I'm going to show you today, you can redirect users to any page you like and you can redirect different user groups to different pages. Which is best.

Post videos of your WordPress success using the hashtag #WPLLCommunity!

I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.

Рекомендации по теме
Комментарии
Автор

Exactly what I need it works like charm. I`m working on two websites where I need to redirect the customers after login to the specific page. Thanks for the video. Great content as always.

sonnyjsinishajanicijevic
Автор

Can you provide the link to the video that shows how to do a custom login redirect without using a plugin? Thank you!

ehro
Автор

Sir, you are a lifesaver!!! Wow! You can't imagine how this video helped me! Keep up the good work!

hkimasa
Автор

This REALLY helped me. I appreciate it. Now if I can only find the actual LOG OUT button/url with BuddyPress, I'll be solid.

TrevisBailey
Автор

Thanks Bjorn. I'm thinking this is a simpler method of adding "password protected information" access to the volunteers on a charity site I'm working on. I did see someone also use "Members" by Justin Tadlock to add new roles in addition to Peter's Login Redirect. Only issue I have is when I login as client to view the page there is a Dashboard link on the top left linking through to a reduced WP Dashboard with OceanWP, Elementor Overview panels. is any way to avoid/remove these?

andrewdowniephd
Автор

Hi Bjorn, you are fantastic. I have a question I created a login botton / registration page / edit profile... but how can redirect from that pages to my other pages on the site? can I use 301 together with peters login direct?

MX-hlkc
Автор

This was very helpful! Thank you for making it.
I want to bypass the search results page and go directly to the post with that info, does this plugin allow that or is there another one you know of?

iSnyrt
Автор

Thank you very much indeed... I was losing sleep over this due to an approaching deadline!

jezbutlervids
Автор

Hola! te hago una consulta, luego esta ultima actualización me hace un error el Ultimate Member, cuando le doy a registrar me redirecciona nuevamente al login y no se pueden registrar, funcionaba bien pero cambió con esta ultima actualización, he probado varias cosas pero no logro solucionarlo, tienes idea que podría llegar a ser?? gracias!

raulzoce
Автор

That's amazing. Thank you so much. However in minute 7:22 I think that the related videos are not linked correctly (one link is about yoast seo and not to the custom login page). Can you please provide the missed link? Thanks

PauloFerreira-jtyn
Автор

I have created individual portal pages from my clients. So I want to redirect each to their page - which is can do. However, i'm worried about the secruity? If another user guesses the URL and are logged in, could they theoratically access someone elses page?

jackmorgan
Автор

Hi Bjorn, If I am creating my header with the elementskit plugin and i created a button with the help of the plugin and i want to change the button text after login. For example -> before login it shows 'sign-in' and after login, it shows 'my account'. Also, i didn't want to change a link, just want to change a text. Can you please help me with this

indian-developer
Автор

Thanks very helpful I remember that you made a video about profile builder and just wondering if we can do all redirects in profile builder pro thanks again

karimsahraoui
Автор

How can we make role based login page..looking for help on how to create login page for employer and subscriber for job portal

sharadsingh
Автор

Hello sir thnks for video . After the admin log in he's directly to dashboard is it possible to change it

medm
Автор

Hi,
This video was helpful.
Can we make a same login form for all, and once the user logged in, it will automatically redirected to their perspective user account ? (eg. if admin is logging, he should redirected to dashboard and if customer or subscriber is logging, then he should logged into his subscribers dashboard)

blesson-kunjumon
Автор

Thank you for the video. I want different types of subscribers (customers and service providers) to be redirected to different pages. How do I do that? Thanks in advance.

pietervantonder
Автор

The new version of this plugin doesn't work for the login redirect... Please can you send me this version of yours please

reginauhio
Автор

I am looking for the tutorial to do this without the plugin by editing functions.php, but I can't seem to find it ...

My goal is to create a redirect, for certain user levels only, to a new page after unsuccessful login ... was hoping I might be able to figure that out using this as a springboard ...

joshuadunn
Автор

Sorry. i am searching almost 2 weeks.. a customer wants to
- 3 different membership on his website
- and they should see separate (private) pages after entering.
- and the man wants to see which pages these members are visiting.

Can I do these with wordpress plug-ins?
I will be very happy if you can help. 🙏

VolkanTolga