Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This section contains documentation for the Facet API Pretty Paths module. The module enables pretty paths for searches with Facet API. You will likely use it in combination with either Search API or Apache Solr Search Integration.
Setup & configuration
General settings
Access general settings at admin/config/search/facetapi_pretty_paths
:
Facet-specific settings
Access facet-specific settings at each facet's configuration form (For Search API go to admin/config/search/search_api
=> edit => Facets => configure display). The configuration options appear in the global settings area.
Tips & Tricks
- How to create custom coder plugins for Facet API Pretty Paths
- Get pretty path on any page from any module
- URL aliases require workaround
Troubleshooting
- When using the Apache Solr Search Integration module, if clicking on facets is adding extraneous url parameters in the search, check on the Search settings page (admin/config/search/settings) to make sure "Apache Solr search" is selected as the "Default search module".
Facet API Pretty Paths related blog posts
Attachment | Size |
---|---|
facetapi_pretty_paths_general_settings.png | 41.13 KB |
facetapi_pretty_paths_facet_settings.png | 38.4 KB |
Comments
Facet blocks are not shown with Facet API Pretty Paths activate
I've enabled Facet API Pretty Paths and the Face blocks are not shown once I select a category.
For example: the Facet Blocks (color and prices) are not shown for the link: /products/field_brand/simple-threads-68
These are:
Drupal 7.44
Facet API Pretty Paths: 7x-1.4
Profile: Commerce Kickstart (commerce_kickstart-7.x-2.38)
Thanks,
Araujo