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:
parent
38637cc493
commit
ca0537f8c0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue