convert_url_filter
Security covered
Automatically converts internal absolute URLs into relative using text formats. Allows additional domain names to be configured in the filter settings. Current host domain name is always considered internal.
Usage
- Download and install the module. Recommended install method is composer:
composer require drupal/convert_url_filter - Go to the "Text formats and editors" configuration page (/admin/config/content/formats).
- Edit the desired text format.
- Enable the "Convert internal absolute URLs to relative" filter.
- Review available configurations under filter settings and save changes.