Skip to content

Instantly share code, notes, and snippets.

@zachharkey
Created October 30, 2013 21:24
Show Gist options
  • Save zachharkey/7240543 to your computer and use it in GitHub Desktop.
Save zachharkey/7240543 to your computer and use it in GitHub Desktop.
Use php to redirect page to any destination url.
<?php header( "Location: http://www.mywebsite.com/otherpage.php" ); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment