Created
December 31, 2017 11:11
-
-
Save bepatrickdavid/cdfb6ce656d6c684366915608a61f97b to your computer and use it in GitHub Desktop.
PHP: redirect 301 only home
This file contains hidden or 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
<? | |
Header( "HTTP/1.1 301 Moved Permanently" ); | |
Header( "Location: https://newlocation/" ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment