htaccess redirect downloads to latest version
In the following segment, I cover using htaccess to redirect file downloads to the latest version of the file. Here you’ll learn how to create a rewrite rule for redirecting all file download requests for earlier file versions to the latest revision. For example all files from filename-0.0.0.1.exe to filename-2.0.0.9.exe should be redirected to filename-2.0.0.9.exe