How to safely redirect episodes to Archive.org
In order to reduce the transit traffic on Anhonesthost.com we would like to redirect downloads to the Internet Archive (IA).
- The shows need to have been posted on IA.
- How can we signal this ?
- Is the path on AI predictable ?
- The file names on the shows need to remain the same. Otherwise the subscribers will get double episode downloads. Leading to additional data charges, disk full issues, etc.
A redirect in the file itself doesn't work.
<?php> header('location:https://ia601503.us.archive.org/12/items/hpr2433/hpr2433.ogg'); ?>
Placing the redirect into the
~/.htaccess file works but may be a bit awkward for large number of entries.
Redirect /eps/hpr9999.ogg https://ia601503.us.archive.org/12/items/hpr2433/hpr2433.ogg