how to remove facets alias from url and replace taxonomy id with taxonomy term name in taxonomy ?

Created on 15 May 2017, over 8 years ago
Updated 20 May 2025, 3 months ago

how to remove facets alias from url and replace taxonomy id with taxonomy term name in taxonomy ?

Pretty paths coder has default settings
==================
Default
Use the raw value, no special processing is done, e.g. /color/2
Taxonomy term name + id
Use term name with term id, e.g. /color/blue-2

works fine as above.

but I have requirement like my url without facets alias and taxonomy id replaced with term name
Use term name e.g. /blue

Thanks for the help.

Feature request
Status

Postponed

Version

1.0

Component

Code

Created by

🇮🇳India flutterstack

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.

  • @anybody : could you solve the issue? I am having the same requirement

  • 🇩🇪Germany Anybody Porta Westfalica

    Nope, not using this any more.

  • thanks for the info. may I ask what you use instead?

  • 🇧🇪Belgium borisson_ Mechelen, 🇧🇪

    Instead of putting this on postponed, indicating this might happen someday, I will close this instead.

  • Status changed to Closed: won't fix 18 days ago
  • 🇩🇰Denmark ressa Copenhagen

    I wanted to totally replace the default Taxonomy term page with a search API, Facets 3 and Facets Pretty Paths based View, and have term links point to my custom View instead.

    I first tried to inject a "prefix"-path (the View page path /browse) in the term link paths in the source with JavaScript, but failed. I eventually ended up redirecting all relevant term links via .htaccess. Not ideal, but it works.

    Term paths are for example /tag/window or /cat/entrance, and a .htaccess rule redirects all URLs beginning with /tag/ or /cat/ to /browse/tag/window or /browse/cat/entrance, where the View page path is /browse, and Facets Pretty Path "Pretty paths coder" is "Taxonomy term name - Use term name, e.g. /tag/blue"

Production build 0.71.5 2024