Last active
September 29, 2017 14:19
-
-
Save kovtunos/8573c2257f91f385c38a37356d48cf62 to your computer and use it in GitHub Desktop.
Remove trailing slash #htaccess
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
| RewriteBase / | |
| # Remove trailing slash | |
| RewriteRule ^(.*)/$ $1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment