Skip to content

Instantly share code, notes, and snippets.

@AlexPashley
Created July 22, 2013 09:05
Show Gist options
  • Save AlexPashley/6052442 to your computer and use it in GitHub Desktop.
Save AlexPashley/6052442 to your computer and use it in GitHub Desktop.
PHP permanent redirect
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.example.co.uk");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment