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

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)

Supporting organizations: 

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Site search
  • chart icon69 sites report using this module
  • Created by colorfield on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases