How can i stop people from accessing wp-content/uploads/woocommerce_uploads/ I am offering some pdf for sale and i do not want users to be able to go to this site and downloaded them direct.
Well, if this page contains links to all files in the directory, simply upload an empty file called "index.html". But I guess that the question is "How to prevent people from downloading the file if they didn't pay you?". In this case I would assign unique keys (file.php?key=xyz) to the file which will be given to buyers only in order to download the file. I read about a plugin that can do that but unfortunately I forgot it's name. I googled and found this: http://wordpress.org/extend/plugins/easy-digital-downloads/ http://wordpress.org/extend/plugins/paid-downloads/