What code do i have to use to always redirect a certain user (or role) to a certain page?
*Example: IF Logged in & current user = Harry Then Redirect to domain/harryspage IF Logged in & current user = Carl Then Redirect to domain/carlspage
or
IF Logged in & current role = Harry Then Redirect to domain/harryspage IF Logged in & current role = Carl Then Redirect to domain/carlspage
I found this code, but its used for some plugin that i dont want to use. Could this be rebuild the way i want it to work?: