// On redirige vers www. si il n'est pas saisi if(substr($_SERVER['HTTP_HOST'], 0, 3) != 'www') { header("Location: http://www.".$_SERVER['HTTP_HOST'], true, 301); exit(); } require('index.phtml'); ?>