PHP Redirect user to new URL
To redirect users to new location, just drop this header() line in your PHP file. Remember that header() function must be called before any actual output is sent, otherwise you might run into error.PHP
- 1
- 2
- 3
<?php
header( 'Location: https://www.sanwebe.com/' ) ;
?>