website: php redirect use only 302 for temp. (NOT 301 (permanent))

This commit is contained in:
creme 2020-01-14 20:31:33 +01:00
parent ba13267e21
commit a2c6bbdf3d
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ example `index.html`:
example `index.php`:
```php
<?php
header('Location: https://www.w3docs.com/', true, 301);
header('Location: https://www.w3docs.com/', true, 302);
exit();
?>
```