This project is not covered by Drupal’s security advisory policy.

UUID Resolver is a module that accepts a UUID under a registered wildcard menu path and redirects to the target object (i.e. node/term/etc.) the UUID identifies. It integrates with the UUID module to look up an object. When a page access hits the wildcard path with a UUID recognized in the system, the URL is redirected to the path of the target object.

For example, in a Drupal site http://www.example.com, node UUID lookup is registered on the path uuid/%. The site has a node:

  • nid: 2
  • uuid: 286acd2e-cd1d-11df-a386-005056812593

The following URL:

http://www.example.com/uuid/286acd2e-cd1d-11df-a386-005056812593

will be redirected to

http://www.example.com/node/2

Drupal 7

The Drupal 7 implementation of UUID-based redirection is UUID Redirect.

Motivation

When publishing nodes as syndicated objects on a Drupal site (e.g. with Feeds), it normally has a canonical URL. The path of this URL is generally under node/XXXX. In most cases, the node ID doesn't change, so this URL remains "canonical" for the duration of the site.

However, in a massive network of websites sharing numerous nodes, migration of a domain from an existing Drupal platform to a new one (e.g. website renovation) can become prohibitively expensive and difficult to coordinate, requiring the cascaded updates of the existing canonical URLs (containing node IDs) to new ones, even before the new URL is set up. The natural solution would be to use a common identifier in the URL so that the URL would be truly canonical.

Since UUIDs are by definition universally unique, it would make sense to use it as a canonical identifier in a URL. This way, whichever installation a node is on, the same node should have only one UUID. This module then assists in redirecting that canonical URL to wherever the node is locally located. The domain update can then naturally progress without forcibly switching on maintenance mode for the potentially extended duration of a multi-tiered migration.

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution No further development
    No longer developed by its maintainers.
  • Module categories: Administration Tools, Import and Export
  • Created by zhangtaihao on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases