From fed89ebc174dda0963856f992f6f9a26bbe1b182 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Fri, 25 Jan 2013 01:42:46 -0800 Subject: URL re-write for tutorial, instead of showing different things@ pathery.com/ --- index.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 34048b9..562b59b 100644 --- a/index.php +++ b/index.php @@ -92,9 +92,14 @@ if ($request == '' && !$accepted) $request = 'hometutorial'; switch ($request) { - case "tutorial": case "hometutorial": + case "tutorial": require("pages/tutorial.php"); break; + + case "hometutorial": + header("Location: $mydomain"."tutorial"); + exit; + break; case "test": require("pages/test.php"); -- cgit v1.2.3