Created
June 12, 2017 15:08
-
-
Save ethangardner/b43f929b4d168a397771f3b1e9e24bc8 to your computer and use it in GitHub Desktop.
Redirect folder to new location
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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteRule ^old-dir/?(.*)$ http://example.com/$1 [L,NC,R=301] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment