As far as I recall, the only changes I made were to add the code:
PHP Code:
If(eregi("ship", $query_string)) {
if($query_string == "ship") {
Header('Location: [url]http://www.aodojo.com/athen_ships.php[/url]');
}
$directhit .= "<br>Did you intend the page <a href='http://www.aodojo.com/athen_ships.php'>Ships</a>?";
}
If(eregi("archive", $query_string)) {
if($query_string == "archive") {
Header('Location: [url]http://www.aodojo.com/lore_archives.php[/url]');
}
$directhit .= "<br>Did you intend the page <a href='http://www.aodojo.com/lore_archives.php'>Alyria Online Archives</a>?";
}
If(eregi("race", $query_string)) {
if($query_string == "race") {
Header('Location: [url]http://www.aodojo.com/fund_races.php[/url]');
}
$directhit .= "<br>Did you intend the page <a href='http://www.aodojo.com/fund_races.php'>Races</a>?";
}
$result_message = $result_message . $directhit;
(Yes, I know there are better ways to code that, but it gets the job done.)