mirror of https://git.envs.net/envs/help.git
website: php redirect use only 302 for temp. (NOT 301 (permanent))
This commit is contained in:
parent
ba13267e21
commit
a2c6bbdf3d
|
@ -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();
|
||||
?>
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue