Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
comments disabled on deleted / locked posts

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.