Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,
    I just ran into your same problem.

    Can you try this?
    /plant-detail-page/?plant_id=(.+)$
    /national-collection/plant-search/plant-profile/?CPCNum=$1

    Thread Starter kheineman

    (@kheineman)

    @yeevpro

    Thanks for the reply! That solution did not work for me, but maybe I am misunderstanding. How does the “$1” work?

    From my understanding and reading through the forums, the $1 represents the RegEx string that you do want to pass through, like a variable.

    Oh, I forgot you may need to escape the ? for it to work.
    /plant-detail-page/\?plant_id=(.+)
    /national-collection/plant-search/plant-profile/\?CPCNum=$1

    Thread Starter kheineman

    (@kheineman)

    Woo!!! That worked. Thanks so much. Escaping the ? did the trick.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirect Page with new Query String’ is closed to new replies.