I have i 2 language site, based on Symfony3. Currently I have there German and English langs.

The problem is that Google indexing only english version on site and, as I seen in Google Webconsole, some german routes Google also trying to index from en locale. What is a problem and how possible to fix it ASAP?


Based on the Symfony translation documentation the locale that is used is based on the user's locale. That is not SEO friendly. For Google rankings, each language needs to be on its own URL. Googebot doesn't index the same URL with more than one language.

You need to change your site so that it bases the language on the URL. That can either be on the domain name (example.de vs example.co.uk), on the subdomain (en.example.com vs de.example.com), or on the folder (example.com/en vs example.com/de). See How should I structure my URLs for both SEO and localization?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.