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

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

Open
plexmaniax opened this issue May 17, 2023 · 0 comments

Comments

@plexmaniax
Copy link

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no

Given Scenario

  • Page: https://domain.com/
  • Available Locales: de and en
  • Default Locale: en

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

  • Make sure the that the initial redirect from maindomain to language context has the flag , this should prevent google to index the maindomain.
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

1 participant