• Resolved JenniferEklund

    (@jennifereklund)


    Everytime Updraft runs a backup there is a new htaccess file added to my wp-content/woocommerce_uploads folder where my digital files are stored. After this file is placed my customers cannot retrieve certain digital download purchases until I either delete the htaccess file or rename it.

    Is there a way to disable this or solve this problem? It’s only one of my upload folders from April 2013 that is effected even though the htaccess file is placed in the main root rolder of /woocommerce_uploads

    Help!

    https://www.ads-software.com/plugins/updraftplus/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi Jennifer,

    What is in the .htaccess file? i.e. Can you post its contents?

    My initial guess is that there’s something else adding it (since UpdraftPlus has no interest in the wp-content/woocommerce_uploads folder), but that that ‘something else’ gets kicked into action when UpdraftPlus does (because of how the WordPress scheduler works). So, I don’t think I’ll be able to say anything useful, and you’ll probably need another forum. But, seeing the .htaccess file will help me confirm that.

    David

    Thread Starter JenniferEklund

    (@jennifereklund)

    Only text in the file is: deny from all

    Totally understand what you’re saying, it’s just that the file is always showing up immediately after UpDraft does a backup and I would think that Updraft does touch the uploads/woocomerce_uploads folder because that’s where I upload new digital products and isn’t that the purpose of Updraft, to back up new data?

    Plugin Author David Anderson

    (@davidanderson)

    Hi Jennifer,

    It’s WooCommerce that creates that file. It’s on line 40 of this file:
    https://github.com/huangdeheng/WooCommerce/blob/master/admin/woocommerce-admin-functions.php

    Best wishes,
    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Updraft adds an htaccess file during each backup’ is closed to new replies.