Tips and Tricks WP eCommerce

eCommerce Solution for WordPress Blog

  • Home
  • eCommerce Plugins
  • WP eStore Documentation
  • WP Shopping Cart Doc

How to Customize the URL of the Download Validation Script

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:

  • How to Reset the Download Validation Script Location to Default Setting

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.

The Instructions

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,

http://www.your-domain.com/downloads/

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:

$wp_home_dir='blog';

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

Your Shopping Cart

Shopping Cart Empty
Shopping Cart is Empty
Visit The Shop

Search

Featured Documents

Stylish Product Display Options for WP eStore WP eStore Quick Setup and Usage Video Tutorial WP eStore Shortcodes and Functions Reference WordPress eStore Plugin Features WordPress eStore Plugin Demo What Our Customers Have to Say About Our Products WordPress eStore WishList (Feature Suggestions) WordPress eStore Frequently Asked Questions (FAQ) How to Show Add to Cart buttons

Featured Plugins

WP Express Checkout Plugin
wordpress_estore_icon
wordpress membership plugin icon
wordpress_affiliate_plugin_icon

Copyright © 2025 | eCommerce Plugins