Tour Redirection

From Tmmwiki

Jump to: navigation, search
NATS 4
Sites Admin
The Sites Admin
Sites
Sites Setup
NATS4 Post URLs
Token Sites
ID Numbers
Site Partner
Site User Management
Tour Redirection
Username Checking
NATS4 Post-Biller Templates
Join Option Box vs Button
Qualified Join Page Hits
Type-In Traffic
Allowed languages

NATS 3
Sites Admin
NATS Sites
Site Setup
Tour Redirection
ID Numbers
Automail
Site User Management
Username Checking
Join Form Errors
Free Pre-Initial Checkbox
Payouts Based on Program and Join Options
Payouts Based on Join Option and Per Option
Adding Extra Site Tours
Site Partner
Join Options
Multisite Access
Removing Join Options
Tour Setup
Site Undelete
Join Option Box vs Button
Redirecting Traffic to a Sponsor
Qualified Join Page Hits
Type-In Traffic
Allowed languages

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.

products