Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Sub-pathauto (Sub-path URL Aliases)

Security covered Maintenance fixes only 7,671 sites

This module extends Drupal's URL aliasing to automatically rewrite links for sub-paths to use their aliased equivalents. It ensures that when a user page or other entity with an alias is part of a URL, the entire URL uses the alias, improving SEO and user experience. This works for various situations, including views that use nodes as arguments.

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

Drupal 8–11

Ask your assistant about Sub-pathauto (Sub-path URL Aliases)

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • path_alias Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Feb 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Releases

Version Type Core PHP Release date
8.x-1.4 Stable 8–11 Oct 21, 2024
8.x-1.3 Stable 8–10 Feb 13, 2023