0
votes
1answer
9 views

Front end login and page restriction

I've read a few post about this topic now, but I haven't found some that fittet my need. What I want to achieve: User A and B has both have a login. When user A logs in, he's redirected to ...
5
votes
1answer
3k views

simple solution for restricting access to (some) uploads/downloads

Initial Situation For a site I'm setting up I was looking into the whole field of securing uploads/downloads and restricting access to them based on user roles/capabilities. Of course I have read ...
0
votes
1answer
177 views

How to properly print a 404 error without redirecton? (i.e. keeping the current URL)

There are some pages on my BuddyPress install that I would like to hide by printing a 404 error. With the help of the following question: Redirect Restricted Page to 404 I came up with this code: ...