Title: Hide Real Download Path
Author: Deepak S
Published: <strong>January 15, 2013</strong>
Last modified: October 20, 2014

---

Search plugins

![](https://ps.w.org/hide-real-download-path/assets/banner-772x250.jpg?rev=993850)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/hide-real-download-path/assets/icon-256x256.png?rev=1010525)

# Hide Real Download Path

 By [Deepak S](https://profiles.wordpress.org/deepaks/)

[Download](https://downloads.wordpress.org/plugin/hide-real-download-path.zip)

 * [Details](https://test.wordpress.org/plugins/hide-real-download-path/#description)
 * [Reviews](https://test.wordpress.org/plugins/hide-real-download-path/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/hide-real-download-path/#installation)
 * [Development](https://test.wordpress.org/plugins/hide-real-download-path/#developers)

 [Support](https://wordpress.org/support/plugin/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](http://xlab.biz/get-in-touch/)

## Reviews

![](https://secure.gravatar.com/avatar/1b7cac1fbf94cfdeb6e95fb57bff3221477373ceb517f0e46ff3da350cbbe974?
s=60&d=retro&r=g)

### 󠀁[Still working!](https://wordpress.org/support/topic/still-working-54/)󠁿

 [priljayme](https://profiles.wordpress.org/priljayme/) June 27, 2017

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.

![](https://secure.gravatar.com/avatar/fc06837c1141efa06e8ef4c3c32817881908043f9b49c6afc1735910de3649ce?
s=60&d=retro&r=g)

### 󠀁[won't work](https://wordpress.org/support/topic/wont-work-21/)󠁿

 [BiomeDigital](https://profiles.wordpress.org/biomedigital/) September 3, 2016 
1 reply

not clear instructions. I had to search for the short code then it didn’t work.

![](https://secure.gravatar.com/avatar/de8b2475883dd252a48a43d2023d8668d6957384eff5c60b6fa069272a8b12e7?
s=60&d=retro&r=g)

### 󠀁[Great to hide path of mp3 players](https://wordpress.org/support/topic/great-to-hide-path-of-mp3-players/)󠁿

 [lalejon](https://profiles.wordpress.org/lalejon/) September 3, 2016

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!

![](https://secure.gravatar.com/avatar/2cf013b11c94f7172f59f110cd658aaeac669a93b5e6f9f6e2ac59758ef68358?
s=60&d=retro&r=g)

### 󠀁[GREAT PLUGIN. A REAL LIFE SAVER](https://wordpress.org/support/topic/great-plugin-a-real-life-saver/)󠁿

 [Abhi](https://profiles.wordpress.org/abhi9/) September 3, 2016

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.

![](https://secure.gravatar.com/avatar/091da50764d6ed65999718df56f4893754c5955f2d2138b64c36b3d31501692c?
s=60&d=retro&r=g)

### 󠀁[Great one, still working with 4.9.x](https://wordpress.org/support/topic/great-one-61/)󠁿

 [Andrea](https://profiles.wordpress.org/aneises/) June 14, 2018

…but remember to set your “real download path” every (!) time, the plugin is updated
or re-activated. So it´s still working under WP 4.9.x Alternative for some bucks(
and more complicated): https://codecanyon.net/item/wp-one-time-file-download-unique-
link-generator-wordpress-plugin/21871469

 [ Read all 14 reviews ](https://wordpress.org/support/plugin/hide-real-download-path/reviews/)

## Contributors & Developers

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

Contributors

 *   [ Deepak S ](https://profiles.wordpress.org/deepaks/)

[Translate “Hide Real Download Path” into your language.](https://translate.wordpress.org/projects/wp-plugins/hide-real-download-path)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/hide-real-download-path/),
check out the [SVN repository](https://plugins.svn.wordpress.org/hide-real-download-path/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/hide-real-download-path/)
by [RSS](https://plugins.trac.wordpress.org/log/hide-real-download-path/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.6**
 *  Last updated **12 years ago**
 *  Active installations **100+**
 *  WordPress version ** 3.5 or higher **
 *  Tested up to **4.0.38**
 *  Language
 * [English (US)](https://wordpress.org/plugins/hide-real-download-path/)
 * Tag
 * [secure file](https://test.wordpress.org/plugins/tags/secure-file/)
 *  [Advanced View](https://test.wordpress.org/plugins/hide-real-download-path/advanced/)

## Ratings

 3.8 out of 5 stars.

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/hide-real-download-path/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/hide-real-download-path/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/hide-real-download-path/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/hide-real-download-path/reviews/?filter=2)
 *  [  4 1-star reviews     ](https://wordpress.org/support/plugin/hide-real-download-path/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hide-real-download-path/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/hide-real-download-path/reviews/)

## Contributors

 *   [ Deepak S ](https://profiles.wordpress.org/deepaks/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/hide-real-download-path/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://xlab.co.in/hide-download-path-of-file-wordpress-plugin/)