Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Media Alias Display

3,814 sites Security covered
View on drupal.org

This module enables direct viewing of files associated with media entities using their URL aliases, rather than going through the full media entity display. This is particularly useful for linked files like PDFs, ensuring updates to the media object's file are automatically reflected wherever it is referenced.

This module allows for direct viewing of a file with the URL alias. Instead of viewing the media entity and all the fields users can view a file (like a PDF). Instead of sites/default/files/name-of-file it will display the URL alias.

This is useful if a media object is referenced in multiple locations the media object can be updated with a new file and reflected in all instances automatically.

Recommended modules

Installation

Install as you would normally install a contributed Drupal module. Visit:
https://www.drupal.org/docs/extending-drupal/installing-drupal-modules
for further information.

Configuration

Once the module is installed.

  • Go to /admin/config/media/media-settings and verify "Standalone media URL" is checked.
  • Go to /admin/config/media/media_alias_display to configure what media bundles will use this module.

Tricks

  • If you're viewing a file with an alias and need help finding the media object just append ?edit-media. This will redirect you straight to the media edit page.

Activity

Total releases
3
First release
Apr 2025
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Release date
3.0.0 Stable Jun 12, 2026
3.0.x-dev Dev Jun 12, 2026
2.1.1 Stable Apr 30, 2025