| 开发者 | waspsystems |
|---|---|
| 更新时间 | 2026年11月17日 01:56 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
woocommerce_uploads folder. WooCommerce closes that folder with a .htaccess file. Apache reads it; nginx does not, so on nginx the folder is open until the server has a rule for it.woocommerce_uploads folder itself, and shows how to close it on nginx, Apache and LiteSpeed, with the rule for your site's paths and a ready request to send to your host.woocommerce_uploads. Every product that sells a file gets its new address and keeps the download's ID, so buyers' download links keep working. Each move is recorded and can be undone.wp download-guard check checks the files and prints the result.wp download-guard move moves files from ordinary folders into the protected folder.wp download-guard moves lists the moves, and wp download-guard undo <id> undoes a move.woocommerce_uploads folder is open, its section shows how to close it on your server, with a request to send to your host.Yes. Every feature is in this plugin, with no account and no limits.
Yes. A buyer's link points at the download, not at the file. The move keeps each download's ID and gives it the new file, so WooCommerce hands the file out from its new place. This is tested with the Force downloads method, which is WooCommerce's default. With Redirect only, the plugin does not move files, because buyers would be sent to a folder that is closed to them.
No. It does not run on page loads, and visitors do not wait for it. Each step lasts a few seconds and requests one file at a time, with a pause between requests.
The server refused the file, but it also refused an open test file of the same type. That usually means a firewall, a security plugin or a password on the site keeps out the site's own requests. The plugin then cannot tell whether a visitor gets the file, and says so instead of guessing. Open the file's address in a private browser window to see for yourself.
No. Files on another server and files delivered by another plugin through a shortcode are listed, but not requested.
Nothing until you move files. The check only reads. For a moment it writes small test files into its own folder, uploads/wasp-download-guard-for-woocommerce, and removes them and the folder right after. It never writes into woocommerce_uploads to check that folder.
The Media Library entry points at the file's new place. Its preview no longer shows, because the protected folder is closed to browsers. A file shown on a page, as a featured image, in a product gallery or in the content, is not ticked for a move by default.
Yes, in the Tasks section of the tab or with wp download-guard undo. The files go back to their old place, and each product gets back exactly the downloads it had before, unless someone has changed the product since.
WooCommerce turns off a download whose file is outside its approved download directories, and its buyers get an error. The protected folder is approved, so the move turns such a download back on.
Its settings, results and tasks are removed. Moved files stay in the protected folder, where the products now point, so buyers keep getting them.