Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Redirecting by User Role

$
0
0

Replies: 0

Is it possible to create a redirection based on user roles?
I have two pages acting as homepages for different user roles (staff and non-staff). When accessing the homepage I would like users in the Staff role to instead see http://www.example.com/staffhome.
It would also be useful if staff who are also part of the Administrator role could be exempted from the redirect.

I believe this would be done by matching with a custom filter however I am very inexperienced with WordPress and do not know how or where to create this filter.

I have found plugins that will perform this redirect upon login but does not redirect when access the homepage later. I am hoping this plugin will allow me to make this more seamless.


Viewing all articles
Browse latest Browse all 59525

Trending Articles