WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed "registered users only" plugin which works perfectly... BUT

if I type in url for some of my attachemnts /wp-content/uploads/2011/.... I can easily download everything even if I'm not logged in?

How should I redirect users to login page if they try to download my content directly?

share

merged by EAMann Jun 9 '11 at 19:17

This question was merged with How to restrict access to uploaded files? because it is an exact duplicate of that question.

Browse other questions tagged or ask your own question.