Created
January 9, 2018 13:03
-
-
Save HendrikHaase/c29ba7698f8bdc92ab47a56b628fd076 to your computer and use it in GitHub Desktop.
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
| ### CUSTOM REDIRECT - ADD TRAILING SLASH IF MISSING | |
| RewriteCond %{REQUEST_URI} (some-url-fragment)$ | |
| RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1/ [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment