Does not work with more than 2 query parameters

Created on 19 October 2012, about 12 years ago
Updated 4 December 2023, 12 months ago

Original issue:

I'm trying to redirect urls in the form of:

/home/?m=destinations&destid=6&resortid=152&hotelid=357

Where there is a hierarchy like:

destination > resort > hotel

When going to the above url, it redirects to the destination node where there is a separate rule like:

/home/?m=destinations&destid=6 -> node/x

So it appears there is a problem with multiple query parameters.

Adam

To explain hopefully a little more clearly...

Let's say I have two urls in an old system
http://myoldsite.com/view.php?list=fruit
That shows all fruit. AND
http://myoldsite.com/view.php?list=fruit&item=apple
That shows a specific fruit (here, an apple).

In the new Drupal site, I want my redirects to do this:
http://myoldsite.com/view.php?list=fruit goes to http://mynewsite.com/taxonomy/term/fruit
http://myoldsite.com/view.php?list=fruit&item=apple goes to http://mynewsite.com/node/apple

Currently, if you create your redirect to http://mynewsite.com/node/apple FIRST, then create the redirect to http://mynewsite.com/taxonomy/term/fruit, all attempts to hit /node/apple will take you to /taxonomy/term/fruit.

🐛 Bug report
Status

Fixed

Component

Code

Created by

🇬🇧United Kingdom adam clarey

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.

Production build 0.71.5 2024