Created
March 31, 2015 04:25
-
-
Save cognitom/f1281655b0915dae8f9f to your computer and use it in GitHub Desktop.
Underscore2Hyphen
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 (.*)_(.*) $1-$2 [N=10,DPI] | |
RewriteRule (.*) http://somewhere.dom/$1 [R=301] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment