change redirect routes to urls instead of paths