diff index.php @ 0:5f4560ac65b7

original
author robert
date Wed, 28 Dec 2016 12:41:21 +0000
parents
children 1477b5e6dd16 093e42d5a874
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/index.php	Wed Dec 28 12:41:21 2016 +0000
@@ -0,0 +1,39 @@
+<?php 
+		$country_code = apache_note("GEOIP_COUNTRY_CODE");	  
+		switch($country_code){
+		/* case "CA":
+			Header( "HTTP/1.1 301 Moved Permanently" );
+			Header ("Location: http://www.yournextread.com/ca/" );
+			break;
+		case "DE":
+			Header( "HTTP/1.1 301 Moved Permanently" );
+			Header ("Location: http://www.yournextread.com/de/" );
+			break;
+		case "FR":
+			Header( "HTTP/1.1 301 Moved Permanently" );
+			Header ("Location: http://www.yournextread.com/fr/" );
+			break;			
+		case "GB":
+			Header( "HTTP/1.1 301 Moved Permanently" );
+			Header ("Location: http://www.yournextread.com/uk/" );
+			break;
+		case "US":
+			Header( "HTTP/1.1 301 Moved Permanently" );
+			Header ("Location: http://www.yournextread.com/us/" );
+			break;	*/
+		default:
+			Header( "HTTP/1.1 301 Moved Permanently" );
+			Header ("Location: http://www.yournextread.com/us/" );
+			break;	
+		}	  
+	?>
+<html>
+		  <head>
+		  <title>YourNextRead: Book Recommendations</title>
+
+        <META NAME="Description" CONTENT="YourNextRead recommends your next book. YourNextRead provides a book recommendation system showing aggregated book reviews, updated by real peoples opinions, in a simple visual map, helping you to decide 'What Should I Read Next?'. Perfect for both bookworms and casual readers!">
+        <meta name="google-site-verification" content="0XCtbGM_bvOH363P2XE6DVjh-APTICOREquY8F38T84" />
+</HEAD>
+<body>
+</body>
+