This project is not covered by Drupal’s security advisory policy.

This module attempts to solve the ongoing issues with File management in Drupal, especially when attached to Media entities and the issues surrounding the file urls presented to the user.

Solves a similar problem as Media entity download without the need for any additional routes.

However, this module only works with files served from the Private file system

How does it work?

It is fairly common for Content editors to update documents, or other files in the lifecycle of a CMS. If these files share the same file name, Drupal will rename the file to be unique, often adding a -0, -1, etc to the end of the filename.

This is essentially unavoidable, especially due to the fact that Drupal no longer deletes files from the file system

This renaming can lead to flow on issues where the initial url to a file has been shared already - such as people bookmarking it, other sites linking to it, marketing material containing it, etc.

This module solves the issue by automatically redirecting a user to the latest file attached to a Media entity corresponding to that particular file.

Supporting organizations: 
Sponsored initial development
Sponsor ongoing development

Project information

Releases