Se você pretende redirecionar um endereço, como por exemplo: http://www.netfaqs.com.br/blog para http://www.linkti.com.br você pode usar os exemplos abaixo nas linguagens: Javascript, Php, Asp, Jsp e html respectivamente.
Redirecionamento com Javascript.
<script type=”text/javascript”>
window.location = “http://www.linkti.com.br”
</script>
Redirecionamento com Php.
<?
header(’Location: http://www.linkti.com.br’);
?>
Redirecionamento com Asp.
<%
response.redirect “http://www.linkti.com.br”
%>
Redirecionamento com Jsp.
<jsp:forward page=”http://www.linkti.com.br” />
Redirecionamento com Html.
Não recomendado. Para mais informações, acesse o site abaixo:
http://br.gnome.org/bin/view/GTWeb/UseRedirecionamentoStandardNaoTireAFuncaoDoBotaoBack
<html>
<head>
<title>Nome do Documento</title>
<meta http-equiv=”refresh” content=”0;URL=http://www.linkti.com.br” />
</head>
<body>
</body>
</html>

Be The First To Comment
Related Post
Please Leave Your Comments Below