You don’t have permission to access file from Woocommerce

Sometimes people use WooCommerce to make a shop handling digital downloads, where customers can purchase a digital product and then download the file, once they have paid. But then when they try to download the file, they get the error message:

You don’t have permission to access /wp-content/uploads/woocommerce_uploads/2014/09/ on this server.

In this article I will explain why and how to solve it. The reason for this error message, is that there is a .HTACCESS file in the folder:


Which contains:

deny from all

So this prevents the customer from downloading the file. This is not the purpose with a woocommerce digitial download to prevent customers from downloading there products. Therefore you can solve the problem by simply deleting this .HTACCESS file.


  1. Rich 13th February 2016 Reply
    • Chris 28th February 2016 Reply
      • gabriel 1st December 2016 Reply
  2. Elsebeth Bechmann 30th November 2018 Reply

Leave a Reply