Created
March 20, 2019 13:31
-
-
Save techskilled/c7b723f09db96e32609d86a917f74fa4 to your computer and use it in GitHub Desktop.
htaccess – 301 Redirects
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 a Single Page | |
Redirect 301 /oldpage.html http://www.yoursite.com/newpage.html | |
Redirect 301 /oldpage2.html http://www.yoursite.com/folder/ | |
#Redirect Entire Website | |
Redirect 301 / http://yournewsite.com/ | |
Redirect 301 / http://yournewsite.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment