tinect / media-staging
Some plugin description
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 1
Open Issues: 0
Type:shopware-platform-plugin
Requires
- shopware/core: ~6.4
README
This plugin for shopware 6 introduced a own controller for requesting images from production shop without having to download them into the staging system
or just add this to your .htaccess in public-folder and replace MY_CDN_ADDRESS:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/media/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ https://MY_CDN_ADDRESS/$1 [QSA,L]
</IfModule>