I have setup a multi context install which is using each context for separate language versions.
Each context has it's own
and
site_url: https://domain.com/context
.
I have rewrite rules to manage the switching between the contexts based on language selection which all works. The problem is with assets. All assets are set to use relative paths but the output from any image TV is badly wrong:
/context/
http://domain.com/assets/assets/images/top-right-image.jpg
Note the context before the protocol, the fact that the protocol is http rather than https and 'assets' appears twice.
I had to set $modx_assets_path to "/revolution/assets/" and $modx_assets_url= '/assets/' so the js would load in the front end. But everything seems to be a mess. Any suggestion how to fix the asset link mess?