URL alter is a utility module that adds two new hooks for other modules to implement: hook_url_inbound_alter() and hook_url_outbound_alter(). These hooks also replace the need for the special, silly custom_url_rewrite_inbound() and custom_url_rewrite_outbound() functions commonly found in settings.php.

It also provides an interface for administrators to enter in their own hook_url_alter code without needing to create a custom module.

#D7CX: I pledge that URL alter will have a full Drupal 7 release on the day that Drupal 7 is released because the hooks are a part of Drupal 7! The module will become an interface to run the deprecated custom_url_rewrite functions.

It is highly recommended that you install this module if you use any of the following modules:

Modules with integration in progress or need an integration patch reviewed:

  • None pending.

How can you get involved?

Project Information

Downloads