Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected frontendBase configuration behavior #681

Open
schloram opened this issue Nov 28, 2023 · 1 comment
Open

Unexpected frontendBase configuration behavior #681

schloram opened this issue Nov 28, 2023 · 1 comment

Comments

@schloram
Copy link
Contributor

schloram commented Nov 28, 2023

Describe the bug
I'm creating this issue out of my last comment in #674 because in my eyes it's still a weird/unexpected behavior with the frontendBase configuration

To Reproduce
Steps to reproduce the behavior:

  1. Set the base for the default language to https://my-backend.com/de/
  2. Set the frontendBase for the default language to https://my-frontend.de/
  3. Now click the "View webpage" icon on a page in the default language
  4. The url that opens is https://my-frontend.de/de/

Expected behavior
Since the backend and the frontend base url should be independent I would expect the url https://my-frontend.de to be opened. But it somehow merges the path from the base and the url from the frontendBase.

How else could we achieve that the backend and the frontend follow a different language logic with the languages (one with the language inside the domain and the other with the language as path)? 🤔

Screenshots
If applicable, add screenshots to help explain your problem.

TYPO3 version and TYPO3 Headless version
TYPO3: v12.4.7
Headless: v4.2.3

Additional context

@schloram schloram added the bug Something isn't working label Nov 28, 2023
@twoldanski twoldanski removed the bug Something isn't working label Dec 11, 2023
@twoldanski
Copy link
Collaborator

Hi @schloram this is not a bug, as I mentioned in previous thread. This is how TYPO3 routing is working. EXT:headless only switches domains, not paths of the routes. We're replacing on the fly domains only for that, TYPO3 and FE app have to have different hosts, but routing is same as you would run "classic" TYPO3 installation. I know it can be a little confusing, but in your example, you want to change how TYPO3's routing works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants