Streaming live at 10am (PST)

How to create pattern matching redirects


#1

Hi Webflowians,

I am updating/redesigning my company´s homepage and have encountered certain issues concerning redirects, as in I have no idea how to achieve the following and am hoping you have a solution…

We want to redirect

https://www.frux.io/viewPdf.php?pdf=FRUX_Company_GER_Public_01.pdf&from=vesecon

to

https://viewPdf.frux.io/viewPdf.php?pdf=FRUX_Company_GER_Public_01.pdf&from=vesecon

and in addition to that, from “pdf=” onwards the path has 321241 different variants.
For example:
https://www.frux.io/viewPdf.php?pdf=FRUX_Company_GER_Public_02.pdf&from=vesecon
https://www.frux.io/viewPdf.php?pdf=FRUX_Company_GER_Public_01.pdf&from=ebit
https://www.frux.io/viewPdf.php?pdf=FRUX_Company_GER_Public_01.pdf&from=aviseo
https://www.frux.io/viewPdf.php?pdf=FRUX_Company_GER_Public_04.pdf&from=vesecon

is there a way to automate the process? Creating 323141 individual rules manually would be a monstrous task.

Thanks in advance for your feedback

Best, Scotty

Read-Only:
https://preview.webflow.com/preview/frux-technologies?preview=b2ff7bfa4a7498fad00c3b8870db5f60

Published: