Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Environment Link fixer

Security covered Under active development 8 sites

This module helps manage links and images by automatically removing your production domain name from URLs. It offers a widget for link fields that strips the current domain when saving, and a formatter that can use custom mappings for domain replacements. Additionally, a text filter can clean up links within content based on defined domain replacements.

This module provides an HTML filter and a link widget/formatter to strip production domain names from links and images.

The widget will automatically strip the current domain name from an absolute URL when saving a link field.

The link formatter can have a custom mapping to use, or fallback to the general mapping. The text filter can have a custom mapping to use, or fallback to the general mapping.

The following (advised in production) will disable the modules logic.

$settings['env_link_fixer_disabled'] = TRUE;

You can easily add your local development names. These will be merged with the one defined in config.

$settings['env_link_fixer_custom_mappings'] = [
  'local.example.com' => 'www.example.com,example.com',
  'local.example.net' => [
    'www.example.net',
    'example.net',
  ],
];

Drupal 8–11

Ask your assistant about Environment Link fixer

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

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Jan 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.4 Stable 8–11 Jan 30, 2025
1.0.3 Stable 8–10 Feb 2, 2024
1.0.2 Stable 8–10 Jan 24, 2024
1.0.1 Stable 8–10 Jan 24, 2024
1.0.0 Stable 8–10 Jan 23, 2024
1.0.x-dev Dev 8–11 Jan 23, 2024