I need to redirect variants of a url to a single common url using 301 redirects.
Using a wildcard, is it possible to do something to the effect of this:
/info/opt-out-(.*) —> /info/out-out-confirmed
Note: the above does not work
I would like to avoid creating a new 301s (or duplicate /opt-out-confirmed
pages!) for every offer that requires a marketing opt out.
/info/opt-out-special-offer-1 —> /info/opt-out-confirmed
/info/opt-out-special-offer-2 —> /info/opt-out-confirmed
/info/opt-out-special-offer-3 —> /info/opt-out-confirmed
...
It’s easy to see how cumbersome managing multiple single-use-case 301s or pages could become.
Use Case:
To workaround the way our CRM handles clicks and tagging, I need to use a dummy url in our marketing messages, like /info/opt-out-special-offer-1
.
To do so, I add a 301 redirect in Webflow to redirect /info/opt-out-special-offer-1 —> /info/opt-out-confirmed
.
Back in the CRM I create a rule for the dummy url that adds the appropriate tags (e.g. [Pref] Opt Out Special Offer 1
etc). Lastly, I add the rule to the link in the marketing message as a Link Trigger
.
Read-Only: LINK