Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Menu Link Attributes 8.x-1.9 — Minor update available for module menu_link_attributes (8.x-1.9). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: PhotoSwipe - Responsive JavaScript Modal Image Gallery 5.0.11 — Minor update available for module photoswipe (5.0.11). Release: Search API attachments 10.0.13 — Minor update available for module search_api_attachments (10.0.13). Release: amazee.ai Private AI Provider 1.4.6 — Minor update available for module ai_provider_amazeeio (1.4.6). Release: amazee.ai Private AI Provider 1.3.10 — Minor update available for module ai_provider_amazeeio (1.3.10). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

URL Slug

14 sites Security covered Drupal 11 · not 10
View on drupal.org

This module allows you to set a custom, stable URL slug for your content independently of its title. This prevents SEO issues and broken links when page titles are changed, ensuring long-term URL stability and clean site architecture. It integrates with Pathauto and can be configured per content type.

URL Slug decouples your page titles from their URL paths, providing a powerful, automated solution for long-term SEO stability and clean site architecture. By isolating the slug, it prevents cascading URL breaks across multi-level site structures and nested paths.

According to SEO standards, a URL slug is the unique, user-friendly text that appears at the end of a web address, and it is a critical on-page ranking factor. While using the node title as a slug works well for blog posts, it creates massive SEO problems for transactional or hierarchical landing pages:

  • The Title-Change problem: Marketing teams frequently tweak page titles to improve conversion or update messaging. If your URL is tied to the title, the URL changes too—forcing you to rely on 301 redirects, which is not optimal for SEO and bleeds PageRank.
  • The Hierarchy problem: In multi-level sites (parent/child relationships), if a parent page title changes, the URLs of all its children change automatically. Manually forcing paths is not scalable and leads to broken links and severe SEO inconsistencies over time.

The URL Slug module solution: This module adds a specific field for defining the permanent, stable segment of a page’s URL—regardless of its title—and a token for easy use with Pathauto. This allows you to change titles as often as you like without altering the URL structure, which remains consistent, or the automated hierarchies of the navigation path and main pages.

Key Features

  • SEO Stability: Change your page titles anytime without breaking your URL paths or generating endless 301 redirects.
  • Zero-Config Title Fallback: The [node:url_slug] token returns the custom slug if filled; otherwise, it seamlessly falls back to the node title. Fully translation-aware.
  • Hierarchy-Safe: Integrates perfectly with Pathauto menu/parent patterns.
  • Per Content Type: Easily enable the slug field only on the specific content types that need it from a single settings form.

How It Works

  1. Enable the module and visit Configuration › Search and metadata › URL Slug (/admin/config/search/url-slug).
  2. Select the content types that require independent URL slugs.
  3. Update your Pathauto patterns to use the [node:url_slug] token instead of the title token (e.g., /[node:menu-link:parent:url:path]/[node:url_slug]).

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jun 2026
Latest release
3 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.1 Stable 11 Jun 25, 2026
1.0.x-dev Dev 11 Jun 25, 2026
1.0.0 Stable 11 Jun 25, 2026