Bug #71559
closed
Page configured with multiple sys_domain records is not working correctly
Added by Bas van Beek about 9 years ago.
Updated almost 9 years ago.
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.
- Target version deleted (
next-patchlevel)
- Status changed from New to Needs Feedback
- Assignee set to Mathias Schreiber
Did you set an absRefPrefix or baseUrl?
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/
- Status changed from Needs Feedback to New
- 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.
Also available in: Atom
PDF