Project

General

Profile

Actions

Bug #105631

closed

site base is overridden by base variant in the site module

Added by Michael Perlbach 4 days ago. Updated 3 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2024-11-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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?

Actions #1

Updated by Garvin Hicking 4 days ago

  • Status changed from New to Closed

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.

Actions #2

Updated by Michael Perlbach 3 days ago

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

Actions

Also available in: Atom PDF