This project is not covered by Drupal’s security advisory policy.
Shortens Facets Pretty Paths aliases.
Before considering to install this module, review this issue from Facets Pretty Paths #3308521: Query params more SEO friendly
- Removes the term ids from the term aliases. If a machine name is not available yet, there is a fallback to the default term coder, with the term id, to guarantee unicity.
- Multiple values (Facet items) are delimited by a dot, the Facet alias is present only once.
So we have e.g.: /color/black.yellow.red
instead of /color/black-1/color/yellow-2/color/red-3
Configuration
- Select the Short pretty paths URL processor for the Facet source
- Select the Taxonomy term machine name pretty paths coder for the Facet if you use this module, or add a field to the vocabulary and declare it in settings.php
$settings['facets_short_pretty_paths_field_name'] = 'field_name';
Dependencies
- Facets Pretty Paths
- Optional (since 1.0.0-alpha3) Taxonomy Machine Name
Known limitation
The Taxonomy Machine Name module provides uniqueness for terms from the same vocabulary.
Also there is a RTBC issue about Machine names are not generated after enabling module
Related Facet Pretty Paths issues
A contributed solution has been favoured to a patch as:
we introduce a potential dependency to Taxonomy Machine Name (https://www.drupal.org/project/facets_pretty_paths/issues/3024640)
it requires to override the active_filters service (https://www.drupal.org/project/facets_pretty_paths/issues/2878617)
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Site search
69 sites report using this module
- Created by colorfield on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Development version: 1.0.x-dev updated 25 Oct 2024 at 12:32 UTC
