In javascript se voglio fare un redirect devo fare location.href='miapagina.html';