Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Drupal 12.0.0-beta1 — First beta version released for Drupal core (12.0.0-beta1). Release: External Authentication 2.0.14 — Minor update available for module externalauth (2.0.14). Release: Block Class 3.1.0 — Minor update available for module block_class (3.1.0). Release: Video Embed Field 3.1.1 — Minor update available for module video_embed_field (3.1.1). Release: Memcache API and Integration 8.x-2.9 — Minor update available for module memcache (8.x-2.9). Release: External Authentication 2.1.0-beta1 — First beta version released for module externalauth (2.1.0-beta1). Release: Drupal CMS Helper 2.2.2 — Minor update available for module drupal_cms_helper (2.2.2). Release: View Mode Switch Field 3.0.1 — Minor update available for module view_mode_switch (3.0.1). Usage Milestone: MathJax: LaTeX for Drupal — Module mathjax crossed 1,000 active installs. Module Revived: Audio Embed Field 11.1.2 — Module audio_embed_field updated after 8 months of inactivity (11.1.2).

Path Alias Collision Guard

No security coverage Drupal 10–11
View on drupal.org

This module prevents duplicate or nearly duplicate URL aliases from being created, ensuring SEO-friendly and unique paths. It also provides an audit report to identify existing alias issues.

Path Alias Collision Guard helps keep URL aliases unique and SEO-safe. It stops new colliding or near-duplicate aliases when they are saved and gives administrators tools to find existing problems after migrations, bulk imports, or Pathauto runs.

What it does

  • Blocks collisions on save — validation runs for aliases created or updated via the UI, REST/API, Pathauto, and Migrate.
  • Normalizes aliases for comparison — trims whitespace, collapses duplicate slashes, and supports optional case-insensitive matching so /About and /about can be treated as duplicates when configured.
  • Audit report — review grouped collisions in the admin UI.
  • Drush integration — drush path-alias-collision-guard:audit for scripts and CI; exits with code 1 when collision groups exist.

Requirements

  • Drupal 10.3+ or 11+
  • Drupal core Path Alias module

Configuration

Settings: /admin/config/search/path-alias-collision-guard

Audit report: /admin/config/search/path-alias-collision-guard/audit

Permissions

  • Administer path alias collision guard — change module settings
  • View path alias collision report — view the audit report

Relationship to other modules

This module does not replace Path, Pathauto, or Redirect. It adds validation and auditing focused on duplicate and near-duplicate path aliases.

License: GPL-2.0-or-later

Depends on

Dependencies of the latest stable release

  • path_alias Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2026
Latest release
8 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Sep 30, 2026