Redirect after appointment confirm

How do I send the client to a custom URL after confirmation of their appointment? As of now, they set their time and enter their info, but once confirmed, they get redirected to the appointment page again. I want to send them to a custom thank you page.