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

Modul chooses wrong domain (when multiple domains have the same root) #12

Open
Radon8472 opened this issue Oct 26, 2021 · 0 comments
Open

Comments

@Radon8472
Copy link

Radon8472 commented Oct 26, 2021

When you have multiple domains in your config, sharing the same root e.g.

you have config for local dev and online env

$config->MultisiteDomains = array(
    "domain1.com" => array(
            "root" => "root_domain1.com",
            "http404" => 27
        ),
    "domain1.local" => array(
            "root" => "root_domain1.com",
            "http404" => 27
        )
);

The modul always redirects links to the first domain, where the root-key matches.

expected behavoir (on domain domain1.local)

  • it should rewrite links to domain1.local

current behavoir

  • modul rewrites links to domain1.com
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

1 participant