Created
September 4, 2016 16:51
-
-
Save joe-dempsey/12c56824a1357159e173424b3d4dcae1 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
AddType x-httpd-php54 .php | |
Options +FollowSymLinks | |
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^olddomain.com [NC] | |
RewriteRule ^(.*)$ http://www.olddomain.com/$1 [L,R=301,NC] | |
RedirectMatch 301 ^(.*)$ http://newdomain.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment