mirror of
https://github.com/phanan/htaccess.git
synced 2018-11-08 13:39:40 +01:00
Merge pull request #64 from vlakoff/trailing-slash
More precise source link for trailing slash removal rule #2
This commit is contained in:
commit
509d047c7e
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