Created
March 30, 2016 18:03
-
-
Save blainerobison/f5aa2656a63e5ddc8b35fc5b97fbe7c9 to your computer and use it in GitHub Desktop.
Redirect / Rewrite Rules
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
# Rewrite url with or without trailing slash, case insensitive | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^path/?$ /new/path/ [NC,L,R=301] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment