Project

General

Profile

Actions

Bug #71559

closed

Page configured with multiple sys_domain records is not working correctly

Added by Bas van Beek over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-11-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Updated from TYPO3 6.2.9 to 6.2.15.

It caused the following issue:

When we have a page:
- Site

That has two domains:
- www.domain1.nl
- www.domain2.nl

Now if we open the domain www.domain2.nl and check the deeplinks they are all pointing to the domain www.domain1.nl instead of www.domain2.nl.

In other words TYPO3 uses the first sys_domain in the list and ignores the one that we are on right now (it is not matching on HTTP_HOST).

This issue is fixed and patched before, but is coming back again.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #63486: Typolink checks only against one domainnameClosed2014-12-01

Actions
Actions #1

Updated by Mathias Schreiber over 8 years ago

  • Target version deleted (next-patchlevel)
Actions #2

Updated by Mathias Schreiber over 8 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Mathias Schreiber

Did you set an absRefPrefix or baseUrl?

Actions #3

Updated by Bas van Beek over 8 years ago

I have found the cause:
www.domain1.nl had this option checked:
[X] Always prepend this domain in links:

www.domain2.nl
[ ] Always prepend this domain in links:

So when you open www.domain2.nl then it forces to prepend the typolink with the www.domain1.nl because that checkbox in the sys_domain is checked.

I still believe this is a bug, because it should only prepend www.domain1.nl when we really have that domain opened.

Yes I set it to this:

config.baseURL=http://www.domain2.nl/

Actions #4

Updated by Riccardo De Contardi over 8 years ago

  • Status changed from Needs Feedback to New
Actions #5

Updated by Riccardo De Contardi over 8 years ago

  • Status changed from New to Closed
  • Assignee deleted (Mathias Schreiber)

I close this as it seems a duplicate of #63486; please continue the discussion there.
I'll add a relation to this bug and add the findings reported here to keep track of them

If you think that this is the wrong decision, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF