Knowledgebase: Support (Basic plan)
How do I rename files on the fly before people download them?
15 June 2012 09:05 AM
You can use mod_rewrite to accomplish that. Here’s a sample .htaccess file:

RewriteEngine OnRewrite
Rule filename-.*\.exe filename.exe

This will rename “filename-(anything).exe” to “filename.exe”. 
(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
Help Desk Software by Kayako Resolve