Skip to content

Commit 227a7ab

Browse files
authored
chore: add info about redirect old thumbnail paths
1 parent af5ddc0 commit 227a7ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ Available variables with examples:
4949
Feel free to decorate `ThumbnailUrlTemplateInterface` to add more individual functions like [signed imgproxy](https://github.com/FriendsOfShopware/FroshPlatformThumbnailProcessorImgProxy)
5050

5151
## Removing unneeded thumbnails
52-
You may want to delete folder `thumbnails` within folder `public`
52+
You may want to delete folder `thumbnails` within folder `public`.
53+
If needed, you could create redirects on your web server for old paths.
54+
Example for Apache .htaccess: `RewriteRule ^thumbnail/(.*)_\d+x\d+.(.*)$ https://cdn.myshop.com/media/$1.$2 [L,R=301]`, consult their docs for more details.
5355

5456
## Adding more thumbnail sizes:
5557
- Save new size in the folder of the media management

0 commit comments

Comments
 (0)