Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14120 reviews 1680 hosting providers

Questions & Answers

I want to hide a link using my htaccess file

Apr 15, 2012 by GeekNew
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 votes
Apr 15, 2012 by SmartHost
This script should do it for you
RewriteRule ^(download/.*) http://dl.dropbox.com/u/93647465/DCTfiles/$1 [L]
0 votes
Apr 15, 2012 by WebGuru
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