Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Media Alias Display

Security covered Under active development 3,871 sites

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.
Drupal 11 · not 10

Ask your assistant about Media Alias Display

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
16
Tracked since
Jan 2023
Latest release
2 weeks ago
Releases (12 mo)
3 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.1 Stable 11 Sep 28, 2026
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
2.1.0-beta2 Pre-release 10–11 Jun 17, 2024
2.1.0-beta1 Pre-release 10–11 May 28, 2024
2.1.x-dev Dev 10–11 May 28, 2024
2.0.1 Stable 10 Dec 1, 2023
2.0.0 Stable 10 Oct 27, 2023