Check the eStore’s link shortener feature before going through the download validation script location customization instruction (a lot of users find that the link shortener feature is all that they need):
WP eStore’s Encrypted Link Shortener Feature
WP eStore has an automatic link shortener feature which can shorten all the encrypted download links before giving it to the customer. This will make the encrypted links look short and moreÂ manageable.
Go to WP eStore settings and check the “Shorten Encrypted Download Links” option to enable the auto encrypted link shortener feature.
Customize the Validation Script Location
This customization is NOT needed for any functionality. The instruction exists merely for anyone who is interested to do this. So I recommend that you use the default value.
This customization involves a little bit of code modification so before you attempt this you must test the plugin with the default settings and make sure everything is working as expected. It is also not a good idea to try this if you are not a developer.
Since this customization involves custom code modification, we have no way of troubleshooting any issue that may arise from this change. If encrypted download stops working after this customization then you need to undo your changes. The following instruction will help with that:
The download validation script validates a download request from a client and fetches the appropriate file for download after verification so the client never knows the real location of the file.
1) There is a file called “custom_download.php” in the “view” directory of the plugin. Copy this file to the target location.
2) Rename the “custom_download.php” file to “download.php”.
3) Now update the value of the “Download Validation Script Location” field from the settings menu to the target directory (include trailing slashes). For example,
If your WordPress is installed in the root of your site then you are done.
If you have installed WordPress in a sub-folder on your site (example: www.yoursite.com/blog) then you need to do one extra step.
4) Open the file your just copied and renamed and edit the value of the “$wp_home_dir” variable to the name of the subdirectory that contains WordPress.
In this example, the line should look like:
A big thank you to The Assurer for getting this new method sorted out.
Note: We provide technical support for our premium plugins via our customer only support forum