Create a custom URL alias for media entity download

Created on 8 November 2018, almost 6 years ago
Updated 26 September 2023, 12 months ago

Media entities have their own URL aliases through the core module path. It is meant to alias the entity default view path.
For media_entity_download it could be a big gain to have a totally independent URL alias to allow creation of arbitrary and persistent URLs to files - leaving /media/{id}/download behind.

Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

🇦🇹Austria guedressel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States joshuami Portland, OR

    While troubleshooting a new site with media entity download where path aliases were not working—I came across this issue. It seemed odd as several of our other D8+ (all D9 or D10 now) were working with the path alias instead of the /media/id/download. It turns out that we nearly always use subpathauto, which solves the issue of having a media alias path with media entity download quite well. Posting in case this unblocks anyone else looking for a solution in this space. 😅

Production build 0.71.5 2024