I have an events page that I need to redirect or rewrite based on a value in the url.
The page generates urls like:
www.website.com/booking/?event=value1&date=value2&noa=value3
I would like this to redirect based on the first value regardless of what comes after so if event=new-event
it would redirect to:
www.website.com/booking/value-1