Author
|
zPlus <->
2017-04-01 19:50:32
|
Committer
|
zPlus <->
2017-04-01 19:50:32
|
Commit
|
2010991
(patch)
|
Tree
|
5c76e35
|
Parent(s)
|
|
.htaccess.prod: Fix rule to remove trailing slashes
commits diff:
4f66c35..2010991
1 file changed,
2 insertions,
1 deletion
—
download
Diffstat
Diff options
+2/-1
M .htaccess.prod
16
|
16
|
|
# RewriteRule ^(.*)$ https://freepo.st/$1 [R=301]
|
17
|
17
|
|
|
18
|
18
|
|
# Remove trailing slashes
|
19
|
|
- |
# RewriteRule (.*)/+$ https://freepo.st/$1 [NC,L,R=301,QSA]
|
|
19
|
+ |
RewriteCond %{REQUEST_FILENAME} !-d
|
|
20
|
+ |
RewriteRule ^(.*)/+$ /$1 [NC,L,R=301,QSA]
|
20
|
21
|
|
|
21
|
22
|
|
# Rewrite for public assets
|
22
|
23
|
|
RewriteRule .+/css/(.+)$ css/$1 [NC,L,QSA]
|