Redirect http
No apache:
ou
Em html:
Em PHP:
RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule (.*) https://secure.example.com/ [R]
ou
RewriteEngine On
RewriteRule ^/$ /lalala [R]
Em html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD>
<BODY>
Optional page text here.
</BODY>
</HTML>
Em PHP:
<html>
<?php
header('Location: http://www.example.com/');
?>
0 Comentários:
Postar um comentário
<< Home