Last active
March 1, 2017 22:58
-
-
Save 100son/2ce1ff681614eb4e4ef2a663e5d0040d to your computer and use it in GitHub Desktop.
Forcer barre oblique ( / ) à la fin des liens
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
# Forcer barre oblique ( / ) sur les liens | |
<ifModule mod_rewrite.c> | |
RewriteCond %{REQUEST_URI} /+[^\.]+$ | |
RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L] | |
</ifModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment