2
0
Fork 0
mirror of https://github.com/phanan/htaccess.git synced 2018-11-08 13:39:40 +01:00

More precise source link for trailing slash removal rule #2

For the genesis and some extra explanations:
https://github.com/laravel/laravel/pull/3145
This commit is contained in:
vlakoff 2015-04-09 06:08:21 +02:00
parent 38637cc493
commit ca0537f8c0

View file

@ -128,7 +128,7 @@ RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
```
[Source](https://stackoverflow.com/questions/21417263/htaccess-add-remove-trailing-slash-from-url)
[Source](https://stackoverflow.com/questions/21417263/htaccess-add-remove-trailing-slash-from-url#27264788)
### Redirect a Single Page
``` apacheconf