301 redirect using PHP
Filed in archive SEO by noel on May 10, 2006

This one is contributed by a friend of mine Benj of actiononline.biz
This is a 301 redirect using PHP program.
<?
$_SERVER[HTTP_HOST] = strtolower($_SERVER[HTTP_HOST]);
if($_SERVER[HTTP_HOST]=="actiononline.biz" or
$_SERVER[REQUEST_URI]=="/index.php") {
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.actiononline.biz");
exit();
}
?>
Permalink: 301 redirect using PHP
Tags:
using search engine redirect google search+engine redirect+using search+engines
Trackback: http://www.creative-weblogging.com/cgi-bin/mt-tb.pl/21780









