After POST is sent from form it goes to the CMS php page

After i send complete the form it successfully goes to the CMS we are using via POST, however, i have the redirect link to a thank you page but it doesn’t redirect after submission. It goes to a PHP page of the CMS saying the post was successful.

How can i make it redirect?