11/14/2013 - 4:26 AM


<!-- Option 1 -->
<body onload="javascript:window.location.href=''">

<!-- Option 2 -->
<!-- Although this method is the easiest way to redirect to a web page there are a few disadvantages. According to the W3C there are some browsers that freak out with the Meta refresh tag. Users might see a flash as page A is loaded before being redirected to page B. It also disables the back button on older browsers. It's not an ideal solution, and it's discouraged to use at all. -->
<meta http-equiv="refresh" content="0; URL=''" />
 Esto es lo único que debe aparecer en index.php. No incluir etiquetas <html>. 

// This has to be set before any markup or content of any other sort, however there is one small hitch. By default the function sends a 302 redirect response which tells everyone that the content has only been moved temporarily. Considering our specific use case we'll need to permanently move the files over to our new website, so we'll have to make a 301 redirect instead:

  header('Location:', true, 301);
// JS Option 
window.location = "";