Sub-path URL Aliases
The Drupal Path module matches only full URLs when creating SEO-friendly aliases. This module extends that behavior by also matching known sub-paths and replacing them with their respective alias. For example, if node/1 is aliased to content/alias, this module rewrites the link to the node edit page node/1/edit to use the aliased URL content/alias/edit instead. This also includes Views URLs taking a node as argument (node/%/yourview), in short, every URL that is based on, or extends, an existing alias. In combination with the Pathauto module it is possible to get rid of all remaining exposed internal URLs.
Dependencies
Installation
IMPORTANT: Make sure to download the correct version of URL Alter:
Sub-path URL Aliases 6.x-1.1 requires URL Alter 6.x-1.2 or later,
while the older 6.x-1.0 release only works with URL Alter 6.x-1.1 and below.
For installation procedure see current README.
IMPORTANT: If you had set up a custom_url_rewrite*) function in your settings.php and NOT used URL Alter before, you HAVE TO modify your code after installation. Please consult the URL Alter documentation for more information.
*) If you don't know what a custom_url_rewrite is you may safely ignore this note.
Compatibility
Global Redirect is known to cause issues: #346911: Redirect Loop and custom_url_rewrite ignored. Please help test the patch.
Credits
Author:
Stefan M. Kudwien (smk-ka)
Sponsor:
UNLEASHED MIND
Specialized in consulting and development of Drupal powered sites, our services include installation, development, theming, customization, and hosting to get you started.
