Route Path Alias
This module allows you to create custom aliases for complex Drupal routes that include dynamic parameters. It supports multilingual sites and can apply different aliases based on conditions like the type of the entity in the dynamic parameter.
The Route Path Aliases module provides the ability to add aliases for complex paths defined in routes, namely paths that provide dynamic parameters.
Features
- Add aliases for paths that contain dynamic parameters. e.g.
/user/{user}->/person/{user} - Supports all routes, core and custom.
- Full multilingual support for aliases in multiple languages.
- Conditions support for dynamic parameters that can have different kinds of values. e.g. For
/node/{nid}, an alias can be created based on the bundle (type) of the {node} entity, allowing the creation of different aliases per type.
Post-Installation
To configure and add route aliases post-installation, simply visit the configuration page at /admin/config/search/path/route-aliases. The module does not ship with any pre-made aliases.
Similar projects
The Dynamic Path Rewrites module provides similar functionality. The main difference with Route Path Aliases is the additional multilingual support and parameter condition matching.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.