This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Hide Real Download Path

Description

Plugin helps you to hide real/direct path of files hosted on your server for download and make your files secure from unauthorized download. It also maintains a log of all downloads done using it and provide capability to disallow direct linking (hot linking) to your files from other website.

You can:

  • Allow or restrict hotlink (direct download) of your files from other website/external links.
  • Restrict ‘download only’ from link on your website
  • View log of individual download

It support multiple files extensions including:
zip / pdf / doc / xls / ppt / exe / gif / png / jpg / jpeg / mp3 / wav / mpeg / mpg / mpe / mov / avi / xlsx

*Step by step configuration guideline in Settings sections of plugin after activation

Version 1.5 changes:
– Corrupt file bug fixed
– Easy step by step guide added in admin to configure plugin
– Generate Root path dynamically
– Support for xlsx added

Installation

  1. Unzip plugin in /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings -> ‘Hide Download Link’
  4. Enter Root path of your download directory where all files are hosted. (it should be something as /home/public_html/yourdirectoryname depending on your host)
  5. Enter referred (if you want to restrict direct download using link from other wesbites)
  6. Save and you are done !!

Now create a page and enter shortcode [download_page]. You are files are now secure!

Download link of your all files will be http://YourSiteName.com/YourPageName/?f=YourFileName.extension

Example:
If you created page with name ‘Download’ and added shortcode in it, Path for your download file (assuming its name is test.zip) will be:
http://yoursitename.com/download/?f=test.zip

FAQ

How can I view download log?

A file ‘downloads.log’ is created on root of your server, open it in text editor and you can view details Time/Date/IP address and Downloaded file name in it.

what should I enter in ‘Allowed Referred’?

‘Allowed Referred’ is not mandatory but if you want to allow download of your files from specific websites only then enter name of site in allowed referral textbox.
For example if you want to allow download of files from your website only, enter your site name (without http://www.) in allowed referral. Now users will be only able to download file by clicking link on your website.

Where do I report bugs?

In the WordPress forum (https://wordpress.org/support/plugin/hide-real-download-path) or contact using form here

Reviews

Still working!

Yes, still working on version 4.8

Although it lacks clear usage, but since the author did put effort so I’ll offer my own step-by-step version so that others can appreciate it as well (after activating plugin):
1. Create ANY folder on your hosting server using FTP or cpanel File Manager
(I created mine inside /wp-content/uploads/ folder). e.g. “downloads”
2. After activating plugin, go to Settings > Hide Download Link
3. Copy the directory highlighted on the “Root path on your server is”
e.g. /home/server/public_html/
4. Paste it on the “Base Dir:” text box then add the directory where you created your folder. Now, my full “Base Dir:” is:
/home/server/public_html/wp-content/uploads/downloads/
5. Keep “Log Downloads” checked
6. Click to Save Settings (Nevermind any error)
7. Upload your downloadable file on your “Base Dir” (or on your created folder)
Let’s say my file is “plugin-download.zip”
The REAL full url of my file is /home/server/public_html/wp-content/uploads/downloads/plugin-download.zip
8. Create new post/page for your “plugin-download.zip” Download Page
Let’s say I named it “Download Page of Plugin” with slug “download-page-plugin”
9. On that page, you don’t have to write anything EXCEPT for the shortcode [download_page]
10. Save & Publish that Page
Now, the url of that page will be: http://website.com/download-page-plugin/
11. Create ANOTHER new post/page. This time, I created my Thank You Page.
I named it “Thank You Plugin Download” with slug “thank-you-page-plugin”
12. On the content, I included a thank you message plus the PLUGIN-SECURED download link.
e.g. Thank you for downloading my plugin. Click HERE to download the plugin
NOTE: “http://website.com/download-page-plugin/” is the URL of the first created page; “?f=” is the required query for the URL; and lastly “plugin-download.zip” is the file name of the uploaded file.
13. Save & Publish that Page
Now, the url of that page will be: http://website.com/thank-you-page-plugin/
14. To test if everything is working, go to the recently created page;
“http://website.com/thank-you-page-plugin/” and check the download link.
Once you click the link, the downloadable file should now be accessible.

Great to hide path of mp3 players

It works smoothly and integrated within any external player or audio tag.
The real path of mp3 file is coded, although external or browser audio players works fine.
Nice work Deepak!

GREAT PLUGIN. A REAL LIFE SAVER

This plugin works beautifully. I’d like to thank Deepak for making this plugin.

There are however a few directions that you should follow. Don’t forget to create a page titled “download” & put this shortcode there ‘[download_page]’

Most of the bad reviews I read are by people who have no idea what they’re doing. A little bit of WP knowledge & access from server side (since you need to create a folder in wp-content as well) this plugin works like a charm.

Thanks again to the developer.

Great one

…but remember to set your “real download path” every (!) time, the plugin is updated or re-activeted. So it´s also working under WP 4.6.1

Read all 13 reviews

Contributors & Developers

“Hide Real Download Path” is open source software. The following people have contributed to this plugin.

Contributors