Dovendo spostare un dominio da .com a .net (sito in php)
E' corretto usare questa funzione nel file index.php?
---------------
<?php
header("Location: www.nomesito.net");
exit;
?>
marall
Dovendo spostare un dominio da .com a .net (sito in php)
E' corretto usare questa funzione nel file index.php?
---------------
<?php
header("Location: www.nomesito.net");
exit;
?>
marall
si.
ma è un redirect.
Si devo fare un redirect sul .net dove ho anche il certificato ssl, non credo che venga penalizzato giusto?Originariamente inviato da lyllo
si.
ma è un redirect.
marall
oppure
-----
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.nuovosito.net/index.php" );
?>
----