Install

Works with Drupal: ^10.4 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 24.58 KB
MD5: afb8a0cc0bc6a86f9c3551bcf5657488
SHA-1: bfbbdc28ce58f849729d8dd813706938caa2a85a
SHA-256: 09d6e41548e04511ab98f4c65aa309632fccdb3878ad14e58b8bc6161deeed8b
Download zip 40.24 KB
MD5: 90c1eab1cf956b2941a2673001154cc6
SHA-1: 5f1fbc88f3f41db6cb920b213e94da3e6c0d9de2
SHA-256: 7e205e12f224e35cd1fe0f7362126266b565d7cf037c3bfdde5817280d81fb5b

Release notes

Initial release of URL Rewriter.

This module rewrites URLs stored directly in the Drupal database, including menu links, entity link fields, rich-text body content, file base URLs, and Redirect module destinations.

Replacement rules can be created from the admin UI at **Configuration → Development → URL Rewriter**. Each rule includes a preview step so you can review the expected changes before the actual database updates are processed through Drupal's Batch API.

The initial release also includes:

* Audit logging with an aggregate count per rule and configurable sampled rows for additional context.
* Drush commands for CI/CD and deployment workflows.
* Support for Drupal 10.4+ and Drupal 11.
* PHP 8.3+ requirement.

This release is currently **Alpha** because the configuration schema may evolve based on early community feedback and usage.

We recommend trying the module in a lower environment first before using it on any environment where changes are difficult to reverse.

Known limitations

  • No revert or undo functionality yet. Take a database backup or snapshot before running a replacement where restoring the database may be difficult.
  • URL matching currently supports plain-text strings only.
Created by: nileshdesai
Created on: 29 Aug 2026 at 21:09 UTC
Last updated: 29 Aug 2026 at 21:10 UTC
New features

Other releases