Invalid Download Links After Migration
-
I’m getting Invalid Download Link Go to shop after order completion for WooCommerce download links after migration from WPEngine to WordPress.com.
I’ve tried?Force Downloads” , “X-Accel-Redirect/X-Sendfile and Redirect only but none allow downloads.
X-Accel-Redirect/X-Sendfile?– Downloads are handled by the server (nginx/apache). This method requires the X-Accel-Redirect/X-Sendfile module to be installed and enabled on the server.
Do i need to do this https://developer.woocommerce.com/docs/using-nginx-server-to-protect-your-upload-directory
# Protect WooCommerce upload folder from being accessed directly.
# You may want to change this config if you are using "X-Accel-Redirect/X-Sendfile" or "Force Downloads" method for downloadable products.
# Place this config towards the end of "server" block in NGINX configuration.
location ~* /wp-content/uploads/woocommerce_uploads/ {
if ( $upstream_http_x_accel_redirect = "" ) {
return 403;
}
internal;
}
Thanks for any guidance.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.