Using WordPress to Authenticate Users
-
Hello,
I’m wondering if it’s possible to use wordpress to authenticate users and restrict users from accessing pages located within the wordpress structure.
For example, currently my wordpress installation resides at:
https://exampledomain.com/admin/
…and I have created a folder & page inside that directory:
https://exampledomain.com/admin/myservice/index.php
As index.php is not linked with wordpress at all, currently anyone can access that page. However I want to be able to use the wordpress login to authenticate users and if the user is not logged in and tries to access the page, they are taken back to the wordpress login.
Anyone know how this can be achieved?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Using WordPress to Authenticate Users’ is closed to new replies.