Sometimes you want an url to be directed to another location. As php is the major webbuilding language, here’s howto redirect with PHP.
1 Create an index.php file with the following content:
< ? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.new-url.com" ); ?>
2 Save it on the location that needs to be redirected to the new location.
Please follow and like us: