Created
August 22, 2017 14:15
-
-
Save chernysh2909/d3896977a8c52052981bbec7b0c458ad to your computer and use it in GitHub Desktop.
301 редирект со слешем и без него в конце URL
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
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_URI} ^(.+)/$ | |
RewriteRule ^(.+)/$ /$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment