Skip to content

Commit 9b8d2a0

Browse files
Merge branch 'MAGETWO-72066' of github.com:magento-trigger/magento2ce into PR-2.1.16
2 parents d588b5b + 075d881 commit 9b8d2a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pub/static/.htaccess

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ Options -MultiViews
2222
RewriteCond %{REQUEST_FILENAME} !-l
2323

2424
RewriteRule .* ../static.php?resource=$0 [L]
25+
# Detects if moxieplayer request with uri params and redirects to uri without params
26+
<Files moxieplayer.swf>
27+
RewriteCond %{QUERY_STRING} !^$
28+
RewriteRule ^(.*)$ %{REQUEST_URI}? [R=301,L]
29+
</Files>
2530
</IfModule>
2631

2732
############################################

0 commit comments

Comments
 (0)