dachcom-digital / pimcore-i18n

Pimcore - i18n Manager
Other
28 stars 18 forks source link

Set <meta name="robots" content="noindex"> on redirect from maindomain to language context #135

Open plexmaniax opened 1 year ago

plexmaniax commented 1 year ago
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no

Given Scenario


Current Result

Default Request

https://domain.com/

Depending on your browser settings you should be redirected to /de or /en Google indexes https://domain.com/ instead of https://domain.com/de or https://domain.com/en

Desired Result

Default Request

GET https://domain.com/

Google should index the final page after redirect and should ignore the maindomain. Instead of https://domain.com/ there should be to indexes https://domain.com/de or https://domain.com/en depending of google context (google.ch/de or google.com)

To Define