I'm using PHP to handle file downloads. Currently I'm showing just an information if a file is not available. (Happends if older file version get linked from external websites)
How to redirect directly to the download page instead? (E.g. www.example.com/downloads.html)
if (!is_file($file_path)) {
die("<center><strong><u>file not available</u><strong></center>");
}