Sub-pathauto (Sub-path URL Aliases)

Categories

Component ID

1078890

Component name

Sub-pathauto (Sub-path URL Aliases)

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

113560

Component created

Component changed

Component body

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 user/1 is aliased to users/admin, this module rewrites the link to the user contact page user/1/contact to use the aliased URL users/admin/contact instead. This also includes Views URLs taking a node as argument (e.g. 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 non-administrative URLs.

Requirements

None

Known Issues

Credits

Original module (Subpath URL alias) written by Stefan M. Kudwien (smk-ka).

Recommended modules

Similar modules

#D8CX: I pledge that Sub-pathauto will have a full Drupal 8 release on the day that Drupal 8 is released.