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

For example, you may want to forward http://www.abc.com/ to http://www.abc.com/eshop
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

<?php
header( “Location: http://www.website-solution.net” );
?>

Pin It on Pinterest

Share This