Download Links Not Working
-
Flummoxed!
I’ve a WP-WooCommerce site which is a sub-domain of another site. The file structure is:
mainsite.com
>public_html_folder
>>subsite.com
>>>wp-content_folderI’m planning on making digital music files available. These I understand have to live in a folder OUTSIDE of the public_html folder.
I have tried making a folder for downloads called e.g. <music_files_folder>, and placing it thus:
mainsite.com
>music_files_folder
>>music_file.mp3
>public_html_folder
>>subsite.com
>>>wp-content_folderThe thing is, when I copy the URL of the music file using an FTP client, and paste it into:
WooCommerce>Products>Product data>Variations>Downloadable files>File URL
…I get a message saying either that the file does not exist, or a 404 page displays.
I’m not sure if I should be using the mainsite.com part of the URL or not, or whether I should be using:
./
…to move up one folder. Maybe WooCommerce can’t go where customers can’t go.
Can anybody tell me kind of URL I should be using here, or perhaps WooCommerce can’t cope with folders above public_html ?
Thank you.
- The topic ‘Download Links Not Working’ is closed to new replies.