Use the code below to redirect to any page from a Magento template (phtml) file. In this case, it is a redirect to the home page.

Redirecting to any page from a template (phtml)
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!