authentication – Allow Html pages for users with specific roles
Question
On my website there is, beside my WordPress installation, a folder full of html files.
I need to protect them using the WordPress user authentication system. The policy is simple: if you have a role, you can pass, otherwise you will not.
Is there any way to implement this?
I would not use .htaccess because I either use nginx, and I need the same members privileges as defined in one of my roles in WordPress.
0
3 weeks
2023-05-12T10:28:36-05:00
2023-05-12T10:28:36-05:00 0 Answers
0 views
0
Leave an answer