-
Simple HTML question
Is it possible to redirect downloading link? Example, my program is located here www.sitetwo.com/program.zip, but if i click www.siteone.com/program.zip, i want it to download program from sitetwo, preferably without showing any redirection pages. I do have admin access to both sites. This is done to avoid paying more fees to software hosting companies when i switch servers. Thanks
-
The easiest way would be to place the zip file in another directory, like www.siteone.com/download/program.zip and have that whole folder set to redirect to www.sitetwo.com/program.zip
-
-
<a href="http://www.siteone.com/program.zip">Download</a>
-
Zach, see that's the problem, the file does not exist at http://www.siteone.com/program.zip, it is located somewhere else, but I would need to redirect the non-existent link to the correct one so I could download the file from sitetwo.com using siteone.com's link. The folder redirection? I'm not really advanced with HTML, I only know basics. Anybody have any examples?
-
Why don't you just download form siteone and upload the file to sitetwo. Then visitors can download the file from sitetwo and your problem will be fixed.
-
zach's response also solves another problem: if siteone has some downtime for a while (forever maybe), then:
a) you have another copy!
b) no worries!