Adding the ability to redirect with dynamic segments