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)
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.
Tags: