Redirect Domain

php

 <?php
  header('HTTP/1.1 301 Moved Permanently');
  header('Location: http://www.sitedeexemplo.com');
?>

.htaccess

Redirect 301 / http://www.sitedeexemplo.com 

HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Redireccionamento</title>
<meta http-equiv="refresh" content="1; url=http://www.sitedeexemplo.com" />
</head>
<body>
</body>
</html> 

Javascript

<script type="text/javascript">
<!--
window.location = "http://www.sitesample.pt/dir"
//-->
</script>

Deixe uma resposta

O seu endereço de email não será publicado. Campos obrigatórios marcados com *