Ninja sorry for the late reply.
Online, the problem is the same:
1
enabling JS optimization in t4, the Homepage Module (Custom Advanced) disappears and the console shows a lot of errors.
And there are other 2 problems:
2
- if I click the logo, index.php remains in the url.
I've tried to add this to htaccess:
RewriteCond %{THE_REQUEST} ./index.php
RewriteRule (.)index.php$ https://www.mysite.it/$1 [R=301,L]
but adding this script creates problem in the backend: some commands are not saved, both in the global settings and in the t4 settings, so I had to comment it out.
3
there's a warning in the console:
DevTools failed to parse SourceMap: https://www.mysite.it/media/t4/css/theme.tpl.css.map
this file, in fact, is not in that directory, but in template/ja_justitia/css/tpl/theme.tpl.css.map
If I enable ONLY css compression, this warning disappears.
I've sent you admin details.