URL alter

Dave Reid - January 26, 2009 - 03:06

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.

If you use any of the following modules, it is highly recommended that you install this module:
Bandwidth
Domain Access
Drupal for Facebook
FeedBurner
Sub-path URL Aliases

Modules with integration in progress or need an integration patch reviewed:
Subdomain - #530326: Prevent custom_url_rewrite_outbound collision and integrate with url_alter.module
Persistent URL - #530338: Integrate with url_alter.module

How can you get involved?

Releases

Official releasesDateSizeLinksStatus
6.x-1.22009-Oct-3111.2 KBRecommended for 6.xThis is currently the recommended release for 6.x.
Development snapshotsDateSizeLinksStatus
7.x-1.x-dev2009-Nov-0210.01 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
6.x-1.x-dev2009-Nov-0211.5 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.