Issue Bug Closed

#105631site base is overridden by base variant in the site module

Michael Perlbach 11/19/24, 01:18 updated 12/29/24, 21:19

Description

My page must be available under “https://mydomain.tld” as well as “https://www.mydomain.tld” – but when I set the site base to “https://mydomain.tld” and then add the base variant “https://www.mydomain.tld” with applicationContext == “Production” then “https://mydomain.tld” is no longer available and throws a 503 error. So it’s either one or the other. I would have assumed that both bases are equally working – which is not the case. Why is this so?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 2

  1. Garvin Hicking commented and changed status New Closed 11/19/24, 06:42

    Please check out https://stackoverflow.com/questions/62571049/how-to-configure-multiple-domains-for-same-root-page-id-within-site-configuratio – specifically the b13/host_variant extension, this should help your cause.

    You may also want to think about using url rewrite/redirects to only point to one canonical URL to prevent duplicate content.

    I hope that helps and am closing the issue for now (feel free to report back if that does not solve your issue, please with your full site config.

  2. Michael Perlbach commented 11/20/24, 13:14

    I went for redirect now. So this can be closed.