Making redirect URLs absolute so they work well with router.