Created
March 10, 2015 11:48
-
-
Save manfromanotherland/a35f6d7bd86430444ec4 to your computer and use it in GitHub Desktop.
.htaccess: Permanent redirect to directory #snippet
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
# ---------------------------------------------------------------------- | |
# REDIRECT TO /DIR | |
# ---------------------------------------------------------------------- | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^$ http://domain.com/dir [L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment