PURL Pathalias

Component ID

1738478

Component name

PURL Pathalias

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Create PURL-based namespaces for URL aliases.

What problem does this module try to solve?

You're developing a website that uses the Persistent URL (PURL) module, possibly in conjunction with the Spaces or Sites modules. PURL creates separate namespaces in your Drupal site, and through modules like Spaces, your website has some nodes/views/pages in some spaces and some content in other spaces.

However, the URL Alias module requires paths to be unique across the entire site. This is a requirement at the schema level, and is enforced in the UI. This means that you can't natively have an "about-us" path point to node/47 in one space, but point to a different node (or view/page/etc.) in another space.

PURL Pathalias attempts to solve this problem by replicating the Path module's functionality, but with PURL namespace awareness. Thus, you can have something like "name1.example.com/about-us" point to node/47, but "name2.example.com/about-us" point to node/48.

Requirements

  • Drupal 6.x (sorry, no Drupal 7.x port yet)
  • Persistent URL and its dependencies

If you want to enable PURL Pathalias UI, which provides an interface to update these path aliases, the requirements also include:

* The PURL Views module exposes the PURL table and defines relationships and fields that the default views in PURL Pathalias UI uses. Added as a module dependency, but I could remove this if this causes headaches for anyone trying to use this module.