Skip to content

Instantly share code, notes, and snippets.

@titomus
Created February 13, 2022 11:01
Show Gist options
  • Save titomus/7ab3b49e8ee713867199d50f220f373b to your computer and use it in GitHub Desktop.
Save titomus/7ab3b49e8ee713867199d50f220f373b to your computer and use it in GitHub Desktop.
Redirection PHP
<?php
header("Status: 301 Moved Permanently", false, 301);
header("Location: http://www.exemple.net/repertoire/page.php");
exit();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment