Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Media Alias Display

3,934 sites Security covered Drupal 11 · not 10
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.

Depends on

Dependencies of the latest stable release

  • media_library Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Nov 2024
Latest release
2 months ago
Releases (12 mo)
2
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.0.0 Stable 11 Jun 12, 2026
3.0.x-dev Dev 11 Jun 12, 2026
2.1.1 Stable 10–11 Apr 30, 2025
2.1.0 Stable 10–11 Nov 13, 2024