In PHP è semplice effettuare un redirect HTTP 301.
Possiamo scrivere il seguente codice PHP:
header('HTTP/1.1 301 Moved Permanently');
header('Location: https://site.tld/page/');
exit();
In PHP è semplice effettuare un redirect HTTP 301.
Possiamo scrivere il seguente codice PHP:
header('HTTP/1.1 301 Moved Permanently');
header('Location: https://site.tld/page/');
exit();