Revision as of 14:31, 18 December 2008
To redirect surfers from your index page to the correct tour, add
the following PHP code to the top of your index page. Replace
shortname and tour-URL with the shortname and URL
of your tour.
<?php
if (isset($_GET['tour'])) {
if ($_GET['tour'] == "short name") {
header("Location: tour url?" . $_SERVER['QUERY_STRING']);
exit;
} elseif ($_GET['tour'] == "short name") {
header("Location: tour url?" . $_SERVER['QUERY_STRING']);
exit;
}
}
?>
You can add additional elseif statements for additional tours.