Forums

Using WordPress to Authenticate Users (2 posts)

  1. Nith
    Member
    Posted 2 years ago #

    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:

    http://exampledomain.com/admin/

    ...and I have created a folder & page inside that directory:

    http://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?

  2. JohnL
    Member
    Posted 1 year ago #

    I hope someone drops an answer on your question, Nith.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.