Restrict public access to media files


Is there a way to prevent visitors from directly accessing my media files via their /wp-content/uploads/ permalink?

ie [](

I’ve tried a multitude of plugins and googling but I have not had any luck.


  1. Are you wanting visitors to still have access to media within a page but blocked when requested directly?


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer