core/redirect.php

11 lines
200 B
PHP

<?php
/*редиректы анти сапе */
switch (trim($_SERVER['REQUEST_URI'])) {
case '/?id=8':
header('HTTP/1.1 301 Moved Permanently');
header('Location: /');
break;
default:
}
?>