if(preg_match('/[A-Z]/', $_SERVER['REQUEST_URI'])){ LocalRedirect(strtolower($_SERVER['REQUEST_URI']), 0, "301 Moved permanently"); }