Created
February 27, 2019 08:25
-
-
Save plugin-republic/178d7f1b2a7d3a7c7453bf7c2d14ef4b to your computer and use it in GitHub Desktop.
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
RewriteCond %{HTTP_HOST} ^olddomain\.com$ [OR] | |
RewriteCond %{HTTP_HOST} ^www\.olddomain\.com$ | |
RewriteRule ^(.*)$ "https\:\/\/newdomain\.com\/$1" [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment