The Media Canonical Download Module provides an option to download a file directly when a media entity is viewed.

Image of Media Canonical Download usage screenshot

Usage:

  1. Install the Media Canonical Download module.
  2. Select “Standalone Media URLs” at /admin/config/media/media-settings
  3. Create (or edit) a document media type.
    • Make sure to check “Create new revision”.
  4. Check “Serve file directly” from the Media Canonical Download settings.

Visiting the media canonical route (eg. /media/1) will then download the file directly instead of showing the media entity page.

Supporting organizations: 
Developer

Project information

Releases