If you want to redirect user to any page you want in your website, you can use the PHP function: header.
This function has to run before any HTML is created on the page otherwise it wouldn't work:
header("Location: anotherpage.html")
- For more information, you can check the official documentation