Hide / rewrite download link

I want to hide the actual path of my downloads that look like this

http://my.wordpresssite.com/wp-content/uploads/2012/12/example.pdf

and instead get something like this:

http://my.wordpresssite.com/downloads/example.pdf

I guess I have to do this by rewriting, but I am really not comfortable with that.
Could somebody suggest a solution to my problem?

Answer

You can use the plugin “Download Monitor” I use it and works great.

You could also set custom configuration in your wp-config.php file to use a different directory. Depends on whether or not you want to just hide wp-content as the directory or actually completely change it.

Attribution
Source : Link , Question Author : Leonardo , Answer Author : sMyles

Leave a Comment