Have a path alias go to a path with queries Drupal 8

Oh don’t despair it’s only a 13-year-old issue.

https://www.drupal.org/project/drupal/issues/118072

The big use case for me for this is faceted search. Ideally on a Drupal / Drutopia site, we replace all boring old regular taxonomy term listings and content listings with new, improved, combined, all-in-one facet listings.

So when i go to example.com/articles i am really at example.com/search?content_type=article and when i go to example.com/drupal i am really at example.com/search?topic_taxonomy_term_tid=1 and when i go to example.com/opinion i am really at example.com/search?article_type_taxonomy_term_tid=2 and when i go to example.com/articles/opinion/drupal i am really at example.com/search?content_type=article&article_type_taxonomy_term_tid=2&topic_taxonomy_term_tid=1 and from any of those listing pages the visitor can add and remove facets to filter differently— all the power of categorized content is available from every listing page.

Even without the extreme version of that ideal, having tags go to faceted search instead of standalone pages is a big benefit.

Linkable URLs for facets [#1025402] | Drupal.org

(Old, Drupal 7 issue: URL aliases require workaround [#1468922] | Drupal.org)

(Even older? issue: Create settings for the url processor to change the facet’s alias [#2624410] | Drupal.org)

https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_url_inbound_alter/7.x

https://drupal.stackexchange.com/questions/190232/how-do-i-implement-the-equivalent-of-hook-url-inbound-alter/190279#190279

https://drupal.stackexchange.com/questions/305651/inbound-path-processor-is-not-processing