Hi.
I found my module that solves everything 😉
You just need to know the agent name and set the path correctly.
It also supports Path generation for all languages.
For example, for folders /en/path and for files /*en/path.
The module can be translated, I only have it in English.
Prestashop 1.7 and later.
I won't provide a download link, but I'll be happy to send it to anyone if they send me a private message🤫
.png.022b5452a8f28f552bc9430097a16da2.png)