Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Path in Multilanguage / Multienviroment Setup #13

Open
ghost opened this issue Aug 17, 2016 · 2 comments
Open

Wrong Path in Multilanguage / Multienviroment Setup #13

ghost opened this issue Aug 17, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 17, 2016

When i use a Multilanguage / Multienviroment Setup like this:

return array(

    '*' => array(

        'devMode' => false,
        'limitAutoSlugsToAscii' => true,
        'convertFilenamesToAscii' => true,
        'enableTemplateCaching' => false,

        'defaultSearchTermOptions' => array(
            'subLeft' => true,
            'subRight' => true,
        ),

    ),

    'delico.tkftest.ch' => array(

        'siteUrl' => array(
            'de' => 'http://delico.tkftest.ch/',
            'fr' => 'http://delico.tkftest.ch/fr/',
            'en' => 'http://delico.tkftest.ch/en/',
        ),

    ),

   'delico.staging.tkftest.ch' => array(

        'siteUrl' => array(
            'de' => 'http://delico.staging.tkftest.ch/',
            'fr' => 'http://delico.staging.tkftest.ch/fr/',
            'en' => 'http://delico.staging.tkftest.ch/en/',
        ),
    ),
);

Compressor try's to find the file at the corresponding Url not the absolute Path eg:

In French : http://delico.staging.tkftest.ch/fr/assetpath

@harryfk
Copy link

harryfk commented Dec 22, 2016

I have the same problem. A config option to switch to absolute urls, excluding the siteUrl would be great.

@juliencharette
Copy link

Not working on domain-based multilingual site either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants