Search Engine risk using $HTTP_HOST?
| From: | Kevin Stone | Date: | Tue, 26 Feb 2002 23:35:10 +0000 |
| Subject: | Search Engine risk using $HTTP_HOST? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86334@lists.php.net to get a copy of this message | ||
Does anyone know if there is a risk of search engine's banning you (or
reducing your status) if you use $HTTP_HOST to redirect visitors to two
separate domains such as in the example below? Note: It's not a header
redirect. Instead I use an include statement which works because both
websites exist in separate folders locally on the same account.
file: index.php
<?
// Open www.stoneentertainment.com
If (ereg('stoneentertainment',
$HTTP_HOST){include("home/www/stoneentertainment/index.html")}
// Open www.nolimitsguides.com
If (ereg('nolimits',
$HTTP_HOST){include("home/www/nolimits/index.html")}
?>
Just making sure! :-)
Thanks,
Kevin Stone
Kevin@helpelf.com