Created
May 25, 2015 11:13
-
-
Save leotop/0229f0e972c7b831c885 to your computer and use it in GitHub Desktop.
Rewrite URL: Replace Double Slashes With Single Slash
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
Rewrite URL: Replace Double Slashes With Single Slash | |
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$ | |
RewriteRule . %1/%2 [R=301,L] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment