• I asked this same in public wordpress support forum. But, I want ask same here: Maybe this plugin is answer. But, I read this plugin manuals many hours, and look “not possible with this plugin”.

    Simply, I want make “traditional .htaccess-style protected membership pages”. It is, without wordpress I can simply make folder, make password protection and put all to this folder. index.html, pdf-files, etc etc.

    Password protection: Yes, it work in WordPress. Simply “page” and “password protection”. This is enough, BUT if I add some media… it is just in “public wordpress folder” and direct access.

    Plugins cannot help me: Eg. “Ultimate member”, “simple membership” this all make very difficult way. Pluginless is also impossible: “check user logged in” ok, but still: no media protection. In history it was easier: simply make password protected folder, as I said.

    All my page is “traditional technology homepage”, much public media, pages etc.

    Most typical way is, I make user and pw manually, meself. This is quite similar than eg. schools: teacher make homepage and tell username and pw to students. Students can read some documents, fill answering forms etc. Username + pw is not individual: it is, “username: classgrade5, pw”. So, all students use same username and pw. Reason my case is just as school, I use “students”, “class” etc instead customer…

    So: I try make password protection incl pages and media, and, as I wrote, “old way is password protected folder”.

    mydomain.com/students/class1 is log in page, and username is class1students and password is password.
    Or,
    mydomain.com/students/class2 and username class2students and pw.. etc…

    As you see, this is very simple. Of course I can accept password protected page: it is most easiest way. But, in WordPress it is unpossible protect media. (… “is user logged in” php is excelent, but it is only for posts and pages, for media not…).

    I installed this plugin. Then I check settings, shortcodes, manuals. Look this type “protected area” is possible. But: as all other php-jinx, other plugins etc etc this is not answer to “protect media”. So: I can make password protected site, but media files are still public. If this is possible, please tell me some easy steps “how to”.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jukka Kähkönen

    (@elkesan)

    Ok:

    https://elkesan.fi/this-is-basic-password-protected-page/

    This is basic wordpress password protection. Password is testpassword.

    When you open this, you can see there is test pdf file.

    1. If you know direct media address, you can open it without logging in: https://elkesan.fi/wp-content/uploads/testpdf20201104.pdf .
    2. Also search engines can crawl it. So, it is extremely public.
    3. Address is not fully customizable: it is domain.com/pagename. “Folder style” not possible: domain.com/maingroup/group etc. (Eg. domain.com/students/class1…)

    How to solve?
    – …domain.com/wp-login, user: class1, pw —-> open domain.com/students/class1….
    (or domain.com/students/class1 —> open domain.com/wp-login, user class1, pw —> open domain.com/students/class1….)

    In my opinion this all is easy. But, media files (wp-content/uploads etc) are allways public. Maybe “Ultimate member” is answer, but this my system is maybe so basic, not possible with it….

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @elkesan

    Sorry for the late response.

    Unfortunately, we haven’t done something similar to add a login or restriction settings via htaccess. I’ll add this as a feature request and if some users want this and then we will try to work on it in the next couple of weeks or include it in the upcoming version 3.

    Feel free to re-open this thread if there’s any question that may come up.

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Membership area “.htaccess style”’ is closed to new replies.