Quote:
Originally Posted by qwe
lets say I have one.php in my root directory on the server, and I activate it from the browser as http://site.com/one.php then I want that to redirect to http://site.com/two.html ... what code do I put in one.php file to redirect to two.html page ?
|
PHP Code:
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: url here");
?>