![ri2](https://www.clevelandwebdeveloper.com/wpsite/wp-content/uploads/2019/05/ri2.png)
The code below will show you can use PHP to redirect the user to a different page.
The Code
1 2 3 4 5 6 |
<?php $errorPage = "https://mysite.com/errorpage.php"; header( 'Location: ' . $errorPage ) ; // Stop rendering the rest of the page die(); ?> |