In some circumstance, customers would like to have some URL redirection.

For example, you may want to forward to
If so, you need to have some kinds of redirection.

In the following, we will show you how to use PHP to forward visitors to a new URL.

– Create an index.php
– Copy and paste the following code
– Update the destination URL

header( “Location:” );

Pin It on Pinterest

Share This