I'm building a membership site. I have 1 product so far. I've set up most of it, but right now I'm trying to get the files that make up my product onto wordpress.
I can't upload them onto the media library directly because my files are huge. So I've uploaded them onto the cpanel of hostgator.
At first, after I uploaded them, I couldn't figure out how to make them appear in the media library. But then I found out about a plugin called Media From FTP and I managed to do it, by clicking on Search & Register. No problem.
But then, as I was watching various videos on how to set up optimizepress, one of them said that I need to protect not only the pages where my files would be, but also the files themselves.
The way to do this is to go to Optimizemember > Download Options > Basic download Restrictions.
Here's what it says there :
- - - - -
Upload restricted files to this security-enabled directory:
- Now, you can link to any protected file, using this special format:
optimizemember_file_download = file, relative to the /optimizeMember-files/ directory. In other words, just the file name.
- Or, use: [opmFile download="example-file.zip" /] ( easier Shortcode if you prefer )
Shortcode equivalent: [opmFile /] produces the entire URL for you, easier.
- - - - -
So, I had to move my files into a special folder for them to be protected.
My files were originally in the /wp-content folder. So, I went into the plugins folder, then the optimizeMember-files folder, and then I created another folder named after my course, plus other folders inside that, in order to organize my files.
So, then I went into the Media From FTP plugin, to get my files into the media library. But when I tried, it only lets me search in the /wp-content/uploads folder (as well as whatever folders are in that one).
So I can't access my files. As far as I can see I have only 1 option, which is to move my files into the uploads folder. This would work, but it would be unacceptable because the files wouldn't be protected. I need them in the protected folder (optimizeMember-files) and I need to get to them from the plugin so I can put them in the media library.
And that's my problem. For days I've tried and tried to get an answer but I've come across nothing. If you're reading this and you know what I'm on about, what should I do? Most of my site is done apart from some tweaking, but this is really slowing me down.