Title: Custom File Name
Last modified: August 31, 2016

---

# Custom File Name

 *  Resolved [George Lewe](https://wordpress.org/support/users/glewe/)
 * (@glewe)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-file-name/)
 * Hi there,
    thanks for a great plugin!
 * My use case might not be the usual but it is one. Some of the files I offer for
   download are hosted on GitHub or Bitbucket. Let’s take Bitbucket for example.
   The link to the downloads there is
 * [https://bitbucket.org/xxx/myproduct/downloads](https://bitbucket.org/xxx/myproduct/downloads)
 * I select “Redirect to file” and enter that link into the File URL(s) field. Cool
   so far. Clicks on that download button are counted. But the filename displayed
   in any template is “downloads”, the last part of the link.
 * I would love to call it “My Product” and that text to be used as the file name.
   I am envisioning a field “Custom file name” where I can enter that.
 * Is anything like that possible? Is it maybe a good idea for a future option?
 * Best regards,
    glewe
 * [https://wordpress.org/plugins/download-monitor/](https://wordpress.org/plugins/download-monitor/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Barry Kooij](https://wordpress.org/support/users/barrykooij/)
 * (@barrykooij)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-file-name/#post-7194859)
 * Hey Glewe,
 * I think the best thing you can do here is override one of our template files (
   or create a new one) and use that one for your download links. You can read more
   about this here: [https://www.download-monitor.com/kb/overriding-content-templates/](https://www.download-monitor.com/kb/overriding-content-templates/)
 * This way you can add a custom field to your downloads via the default WordPress
   custom field interface and retrieve that custom field in your custom template.
 * I can’t do the actual custom coding for you but I think this should help you 
   get there.
 * I hope this answered your question.
 * Kind Regards,
    Barry Kooij
 *  Thread Starter [George Lewe](https://wordpress.org/support/users/glewe/)
 * (@glewe)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-file-name/#post-7194897)
 * Hi Barry,
    you are absolutely right. I didn’t think of that. I made a template
   for the Bitbucket downloads and it works perfectly. Best regards, glewe
 *  Plugin Contributor [Barry Kooij](https://wordpress.org/support/users/barrykooij/)
 * (@barrykooij)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-file-name/#post-7194914)
 * That’s awesome to hear [@glewe](https://wordpress.org/support/users/glewe/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom File Name’ is closed to new replies.

 * ![](https://ps.w.org/download-monitor/assets/icon-256x256.png?rev=3198936)
 * [Download Monitor](https://wordpress.org/plugins/download-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/download-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/download-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/download-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-monitor/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Barry Kooij](https://wordpress.org/support/users/barrykooij/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/custom-file-name/#post-7194914)
 * Status: resolved