Last active
December 12, 2015 01:38
-
-
Save edelgado/4692500 to your computer and use it in GitHub Desktop.
mod_rewrite rule (to be placed inside .htaccess or a <virtualhost> directive in Apache)
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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteBase / | |
RewriteRule ^/?$ http://theurltoredirecthere [R=301,L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment