Add catch-all redirect handler for legacy URLs