Created
February 4, 2011 13:53
-
-
Save nickdenardis/811128 to your computer and use it in GitHub Desktop.
Chrome is picky about the HTTP code being specified before the Location.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Redirect | |
header("HTTP/1.1 301 Moved Permanently"); | |
header('Location: ' . $results['url']); | |
die(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment