Issue with Parameters in URL
-
Hi, I’m actually trying to create a redirection for a Source URL like this (intended for a production environment to fix a problem we have discovered with our Marketing Automation solution and certain URLs in our website)
^/resources/webinars?commid=396801&utm_campaign=Webinar%20-%20Putting%20your%20Data%20to%20Work%20with%20Extended%20Reporting%20for%20Openbravo%20Commerce%20Cloud%20-%2016%2F04%2F2020&utm_medium=email&_hsenc=p2ANqtz-9IJUTnBcbs3jVY8Q9WpxEVvY9wbcukZa-seQ3CH7Fo0p75rNG05pd7wstsyrndsSuerQYv_x1Ssr7L3As7XJif671w2ShuUZCQSMBT_rUJwTezJ5E&_hsmi=85933062&utm_source=hs_email&utm_content=85933062&hsCtaTracking=17ca3ade-1387-4c43-a1d2-f9158dc9857c%7C54412924-d055-472b-8861-8c480e075644
This is a URL generated by a marketing automation system, by adding some parameters to a basic URL (as part of a CTA button), which in this case was: /resources/webinars?commid=396801.
My objective is to take this URL and redirect it to a Destination URL like this:
https://www.mywebsite.com/webcast/12131/396801, where the last 6 digits are the ones for the commid parameter in the Source URL (rest of the destination URL is fixed, I only need to capture this ID).
To achieve this I’m using this: ^/resources/webinars\?commid=(\d{6}).*
but it doesn’t match the Source URL, and I guess it’s because of the additional parameters. I’ve tried a lot of options but nothing is working. If I remove everything after the commid=396801 in the Source URL, then it works.
Any help?
Thx!
Xavi
The topic ‘Issue with Parameters in URL’ is closed to new replies.