This module allows you to create user-friendly, readable alternative URLs for pages that have complex query parameters, such as those used with views filters. It enables you to define these alternative URLs and use a special token to ensure they are prioritized in meta tags and canonical links for better SEO.
The module allows you to create alternatives to canonical URLs.
The goal: create alternative pretty SEO URLs for pages with filters (query parameters) and add them to the page canonical <link> tag. Make canonical URLs user-friendly and readable for such cases.
Use case:
Sometimes when we use, for example, a view with filters on the page (node, term, etc.), we can get a large URL path. But in some cases we want the SEO data to have a better, more readable look for certain sets of filters.
This module allows creating an alternative URL for some existing one and use seo-url token in metatags.
For example: [node:seo-url]
In general, this token works as a default url token, but if it sees that there is an alternative for the current URL, it will replace it with the new one.
Configuration:
Only one thing is important, configure allowed content types: /admin/structure/seo_url
Then new SEO URLs can be created.
Important: the token name seo_url was changed to seo-url
See #3554388: Rename token name
Ask your assistant about SEO URLs (pretty URLs)
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- Metatag
- link Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.6 | Stable | 10–11 | Oct 26, 2025 | ||
| 1.0.5 | Stable | 10–11 | Nov 10, 2024 | ||
| 1.0.4 | Stable | 10–11 | Nov 10, 2024 | ||
| 1.0.3 | Stable | 9–10 | PHP 7.4 | Apr 2, 2023 | |
| 1.0.1-alpha8 | Pre-release | 9–10 | PHP 7.4 | Apr 1, 2023 | |
| 1.0.3-beta1 | Pre-release | 9–10 | PHP 7.4 | Apr 1, 2023 | |
| 1.0.2 | Stable | 9–10 | PHP 7.4 | Apr 1, 2023 | |
| 1.0.1 | Stable | 9–10 | PHP 7.4 | Apr 1, 2023 | |
| 1.0.1-alpha7 | Pre-release | 9–10 | PHP 7.4 | Mar 31, 2023 | |
| 1.0.1-alpha6 | Pre-release | 9–10 | PHP 7.4 | Mar 31, 2023 |