set home page by role VTTW
This module allows administrators to set different home pages for users based on their roles. You can configure a default home page for anonymous users and registered users, and also specify unique home pages for specific user roles.
This module change the home page based on user role.
*********** compatible with drupal 11 ******************
(it was the first time I made a project and I completely messed up. but the version 1.0.10 is fully functional)
Features
You can change the home page for anonymous users and for all registered users and/or You can also set a home page for a specific role
Post-Installation
install it and that's it!
You will get a menu item to /admin/config/people/homepage-roles and of course, link to the config page will appear in /admin/config under people
Additional Requirements
No additional module required.
Recommended modules/libraries
No library required
Similar projects
redirect page by role but it never worked for me
Supporting this Module
No support outside of drupal
Community Documentation
see above for documentation. it's pretty straight forward
paste the path of the page you want to setup as home page for a role.
by example, /welcome_anonymous_user
or /registered_users_only
any existing path will work.
Depends on
Dependencies of the latest stable release
- user Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 11.0.1 | Stable | 11 | Aug 20, 2025 | ||
| 11.0.0 | Stable | 9–11 | Drupal 11 compatible | Aug 20, 2025 | |
| 2.0.0 | Stable | 9–10 | Set home page by roles | Feb 16, 2025 | |
| 2.x-dev | Dev | 9–10 | set home page by roles | Feb 16, 2025 | |
| 1.0.10 | Stable | 9–10 | set home page for every roles | Feb 10, 2025 | |
| 1.0.9 | Stable | 9–10 | Set different homepage redirections based on user roles. Administrators can configure unique homepage paths for anonymous users, authenticated users, and specific roles through a simple configuration interface. | Feb 10, 2025 | |
| 1.0.3 | Stable | 9–10 | set different home page for roles | Feb 10, 2025 | |
| 1.0.2 | Stable | custom homepage for users | Feb 10, 2025 | ||
| 1.0.1 | Stable | Feb 10, 2025 | |||
| 1.0.0 | Stable | set home page for every roles | Feb 10, 2025 | ||
| 1.0.x-dev | Dev | 9–10 | change the home page for roles | Feb 10, 2025 |