lisardo
lisardo

Reputation: 1454

speaking url in TYPO3 9.5 shows always homepage

my problem:

But when i call them with their slugs i get in every case the homepage.

The same installation works pretty well on my local development but not on the staging server.

my config.yaml:

rootPageId: 39
base: 'https://test.mydomain.de'
baseVariants: {  }
languages:
  -
    title: German
    enabled: true
    languageId: '0'
    base: /
    typo3Language: de
    locale: de_DE.UTF-8
    iso-639-1: de
    navigationTitle: German
    hreflang: de-DE
    direction: ltr
    flag: de

Any ideas? Thanks!

Upvotes: 2

Views: 786

Answers (2)

Jirka
Jirka

Reputation: 11

I had the same issue in the environment with Apache2 reverse proxy. Setting http instead of https in the Site config in Entry point and setting "/" in language Entry point solved the problem for me.

Upvotes: 1

lisardo
lisardo

Reputation: 1454

We found the reason and a fix.

We added this to the configuration of the frontend proxy:

RequestHeader set X-Forwarded-Proto "https"

and in the installtool we added:

[SYS][reverseProxyIP] = 1.2.3.4, ... (all IPs of the proxy)

After both configuration changes it worked.

Upvotes: 1

Related Questions