Membership area “.htaccess style”
-
I am not sure is this easy question or not. But 8 hour coding session answer is: “Extremely difficult”.
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…)
The page I need help with: [log in to see the link]
- The topic ‘Membership area “.htaccess style”’ is closed to new replies.