Stop robots indexing the wrong server
If your server is known as "www.cridland.net", but "family.cridland.net" also works - or even "www.btopenworld.com/users/~james4623/cridlandnet/" works - then it can be rather embarrassing if Google, or other robots, index the 'wrong' site. We might still want the 'wrong' site to work, but we'd rather robots only indexed the correct one.
This is how to do it... this code goes between <head> and </head> in your web pages.
<?
// We don't want robots to index the wrong address
// But we love robots, even the googlebot, on the main site.
if($HTTP_HOST=="www.cridland.net") {
// I love you, robot. Come and look at all my stuff.
echo "<meta name=\"robots\" content=\"index,all,follow\">";
} else {
// No, robot, please go away. Shush.
echo "<meta name=\"robots\" content=\"noindex,nofollow\">";
}
?>
This should increase your Google rank in time, since Google puts you higher in the rankings if more people link to you. But, if lots of people link to your BTOpenworld address, not your real URL, that won't help Google's PageRank system.