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.

Supporting organizations: 

Project information

Releases