Commit 5d22ed6b69f7d27c36f03295490c74e609f37a3b

Authored by Geoffrey PREUD'HOMME
1 parent 4bb3187b

Redirect crepbeta.plil.net → crep.plil.net

crepbeta was the ONLY website ranked in Google.
Showing 1 changed file with 8 additions and 0 deletions   Show diff stats
1 <?php 1 <?php
  2 +
  3 +if ($_SERVER['HTTP_HOST'] == 'crepbeta.plil.net') {
  4 + header('HTTP/1.1 307 Temporary Redirect');
  5 + header('Location: http://crep.plil.net/');
  6 + exit();
  7 +}
  8 +
2 session_start(); 9 session_start();
  10 +
3 require_once("creds.php"); 11 require_once("creds.php");
4 12
5 $url = $_SERVER["REQUEST_URI"]; 13 $url = $_SERVER["REQUEST_URI"];