Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Role Theme Switcher Module role_theme_switcher crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

Pretty Url

1 sites No security coverage
View on drupal.org

This module makes the URLs for content filtered by views cleaner and more search engine friendly. It converts taxonomy filter URLs from a complex format to a simple, readable list of category names. This makes filtered pages easier to understand and share.

The Pretty URL module enhances Drupal Views by transforming exposed filter URLs into clean, human-readable, and SEO-friendly formats.

By default, Drupal uses complex query structures for exposed filters, especially for taxonomy terms (e.g., ?category[12]=12). This module allows site builders to enable a simplified URL format such as:

?category=web-development,drupal

This improves usability, readability, and shareability of filtered Views pages.

🚀 What This Module Does
Converts exposed taxonomy filter query parameters into comma-separated, readable slugs
Automatically maps those slugs back to taxonomy term IDs internally
Maintains full compatibility with Drupal Views
Works per-filter using a simple checkbox in the Views UI
Keeps backward compatibility with default Drupal query formats

⚙️ Features

Clean and SEO-friendly URLs for exposed filters
Per-filter enable/disable option in Views UI
Supports multiple values using comma-separated format
Automatic conversion of slugs to taxonomy term IDs
No impact on existing Views functionality

🧩 How It Works
A new checkbox “Enable pretty URL for this filter” is added to exposed filters in Views.
When enabled, the module:
Reads clean URL parameters (e.g., web-development,drupal)
Converts them into corresponding taxonomy term IDs
Rewrites the request internally so Views can process it normally
A small JavaScript integration ensures consistent behavior on the frontend.

⚠️ Limitations

Currently supports taxonomy exposed filters only
Slug matching is based on taxonomy term names
Case and formatting variations are handled with basic normalization

🛠️ Use Cases

Blog or article listing pages with category filters
SEO-optimized content discovery pages
User-friendly filtering for large taxonomy vocabularies

Activity

Tracked releases
2
Tracked since
Mar 2026
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.1 Stable Apr 1, 2026
1.0.x-dev Dev Mar 31, 2026