Im looking for way to create page where only logged in user can see images, but images cant be index by browser, cant be accessed by not logged in user. Simply, if logged in user copy image link, and not logged in user try see it, he should see 404 or some other redirect, logged in user should be able to see this image. (Link should not expire). And Image can be downloaded ofc. :)

And it is way to prevent wordpress to index images? (They should be privated, and cant be access by any sinply url like www.site.com/wp-content/media/image.jpg etc ;)

1 Answer 1


Been done before You should take some time to research your issue here and be sure to read the site help topics especially How do I ask a good question?

We’d love to help you. To improve your chances of getting an answer, here are some tips:


Find Answer Here

How to Protect Uploads, if User is not Logged In?

More explanation here http://0to5.com/protecting-wordpress-media-uploads-unless-user-is-logged-in/

  • Sorry, i looked for it. just not found this one ;) Im just going to test it.
    – Isu
    Commented Dec 20, 2016 at 17:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.