I want to hide a link using my htaccess file

188 views
asked Apr 15, 2012 in General by GeekNew (720 points)
Hi all,

I want to use my htaccess file to hide the direct downloads link from dropbox.com.
 To be more clear I want  http://dl.dropbox.com/u/93647465/DCT12040745WP.zip to show as http://mywebsite/download-DCT12040745WP.zip

2 Answers

0 like 0 dislike
answered Apr 15, 2012 by SmartHost (9,060 points)
This script should do it for you
RewriteRule ^(download/.*) http://dl.dropbox.com/u/93647465/DCTfiles/$1 [L]
0 like 0 dislike
answered Apr 15, 2012 by WebGuru (9,280 points)
hi

try to add this code to your htaccess file

Options +FollowSymlinks
RewriteEngine On
RewriteRule ^grab http://dl.dropbox.com/u/93647465/download-DCT12040745WP.zip
...