Query params more SEO friendly

Created on 8 September 2022, about 2 years ago
Updated 22 January 2024, 10 months ago

Problem/Motivation

To have the facet search filter more SEO friendly would be nice to replace
www.site.com/search-page?f%5B0%5D=category%3A29
with
www.site.com/search-page?f%5B0%5D=category%3Achoosed
so the TID of the term filtered with the term label.
I've tried both List item label and Transform entity ID to label options, but none work in the query params.

Steps to reproduce

Create a facet filter for vocabulary with widget List of checkboxes
Set Facet settings List item label and Transform entity ID to label
The filtered url, as query param, is with tid and not with label.

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇮🇹Italy g.rocchini

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • 🇺🇸United States dcam

    I guess you are using some module that has dependency on the old service...
    use #15 for now.

    I don't know whether you meant #12 or #15 in the quote above, but anyway #16 shouldn't work because you forgot to add all of the new files to the patch. Happens to all of us sometimes.

Production build 0.71.5 2024