Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/04/2004, 07:19
Avatar de doctor
doctor
 
Fecha de Ingreso: marzo-2004
Ubicación: España
Mensajes: 588
Antigüedad: 20 años, 1 mes
Puntos: 0
Por ejemplo, haz una página Index.html con un Script como la de abajo para tu dominio antiguo, que redireccionará a tu dominio nuevo cuando alguien visite el antiguo.

Sustituye: redirURL = "http://www.tu_dominio_nuevo/";----------por el nuevo dominio.

Un saludo.

<html>
<head>
<title>Redirección, espere por favor...</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
redirTime = "4000";
redirURL = "http://www.tu_dominio_nuevo/";
function redirTimer() { self.setTimeout("self.location.href = redirURL;",redirTime); }
// End -->
</script>
<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->
</head>

<body bgcolor="#FFFFFF" text="#000000" onLoad="redirTimer()">
<!-- TWO STEPS TO INSTALL TIMED REDIRECT:

1. Copy the coding into the HEAD of your HTML document
2. Add the onLoad event handler into the BODY tag --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --><!-- Script Size: 0.88 KB -->
<font color="#3366FF" size="1" face="Tahoma">Cargando p&aacute;gina principal, por favor espere... <br>
Please wait for redirect... </font>
<p align="center">&nbsp;</p>
</body>
</html>
__________________
- Uno de los mejores proveedores de hosting profesional -
www.copernico.net