Skip to content

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

@Radon8472

Description

@Radon8472

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions