Project

General

Profile

Actions

Bug #86927

closed

Site management multidomains and multilanguage gives wrong base url

Added by Pierre N. about 6 years ago. Updated over 5 years ago.

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

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi folks,

i have 2 rootpages in my typo3 installation and each rootpage has been configured in "site management" for two languages: german as default and english (id=1).
For the first rootpage(id=1) with domain: domain1.tld, i've defined the entry point for german as "/" and for english "/en/"
For the second rootpage with domain: domain2.tld, i've defined the entry point for german as "/" and for english "/en/". Basically the same as for rootpage id=1.

Now trying to view the startpage for id=2 in my development Application Context results of showing the page id=1. I've finally found that it only works, if i change the entry points for rootpage id=2 and enter the full url of domain. Now i have in the second rootpage as entry point for german "http://dev.domain2.tld/" and for english "http://dev.domain2.tld/en/".

I think my first configuration should have work without the full url as entry point. So is this a bug?


Files

config.yaml (749 Bytes) config.yaml Config Domain 1 Pierre N., 2018-11-14 13:19
config.yaml (749 Bytes) config.yaml Config Domain 2 (Not working) Pierre N., 2018-11-14 13:19
config.yaml (797 Bytes) config.yaml Config Domain 2 (working) Pierre N., 2018-11-14 13:20
Actions #1

Updated by Pierre N. about 6 years ago

i've found why this was an issue.
in my .htaccess, i've only defined:

RewriteCond %{HTTP_HOST} ^dev\.domain1\.tld$
RewriteRule .? - [E=TYPO3_CONTEXT:Development]
RewriteCond %{HTTP_HOST} ^www\.domain1\.tld$
RewriteRule .? - [E=TYPO3_CONTEXT:Production]

so trying to open dev.domain2.tld, the page landed in the Production context since it has no specific Application context defined.

Topic can be closed.

Actions #2

Updated by Benni Mack over 5 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF