Group Purl Adds Group‑Specific URL Paths to Drupal Group Module
John Locke outlines how Group Purl fills a crucial gap in the Group module by enabling group-specific URL paths. Traditional methods like Pathauto can't handle group paths effectively due to token limitations. Group Purl integrates with the PURL module to map modifiers to groups (e.g., turning /group/13 into /port) and automatically prefix group content URLs without Pathauto.
The module also introduces helpful enhancements: a contextual filter for Views that filters by current group, condition plugins to manage block visibility based on group context, and menu link settings that respect or override group paths. Setup involves enabling PURL with Drupal 11 compatibility, installing Group Purl 3.x, configuring persistent URLs with the Group Purl Provider, and updating Pathauto settings for group entities. Content types must have PURL context settings enabled to retain group paths in generated URLs.
Subdomain support remains untested, and future improvements could include automatic content association with the active group prefix, potentially via custom ECA plugins. Locke emphasizes these features aim to make group-based navigation and content management more seamless.


