Skip to content

Backdrop 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.

License

Notifications You must be signed in to change notification settings

backdrop-contrib/subpathauto

Repository files navigation

Sub-path Auto

Backdrop 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.

Installation

Issues

  • While Sub-pathauto works when backdrop_get_normal_path() is called, if backdrop_get_path_alias() is called, the hook to alter URLs is not invoked. Functionality that uses this function to compare things like page visibility settings will not match the sub-path processed URL. This is due to a core bug.
  • Bugs and Feature requests should be reported in the Issue Queue.

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

About

Backdrop 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.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages