Title: html lang causing SEO issues
Last modified: November 29, 2021

---

# html lang causing SEO issues

 *  Resolved [larsstl](https://wordpress.org/support/users/larsstl/)
 * (@larsstl)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/html-lang-causing-seo-issues/)
 * Hi,
    through SEO tools I found out, that all my pages on my wordpress claim to
   be en-US pages, though they rather should be de-DE pages. I am using DIVI theme&
   Polylang for bilingual page & Yoast de-DE is the main locale I need to use. I
   tried switching the language on the Settings tab of my site, where the language
   of page is weirdly “English” – but whenever I save after changing to Deutsch,
   the setting returns to English. This also appears to confuse Yoast, since the
   created data from Yoast result in the following:
 *     ```
       <meta property="og:locale" content="en_US">
       <meta property="og:locale:alternate" content="en_US">
       ```
   
 * Can anyone help?
    -  This topic was modified 4 years, 6 months ago by [larsstl](https://wordpress.org/support/users/larsstl/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhtml-lang-causing-seo-issues%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/html-lang-causing-seo-issues/#post-15114190)
 * Hello,
 * There is an option in Divi which messes translations. I don’t remember where 
   it is. Try with a default theme to check that the issue is coming from your theme.
   If it’s confirmed, look for this option an change it.
 *  Thread Starter [larsstl](https://wordpress.org/support/users/larsstl/)
 * (@larsstl)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/html-lang-causing-seo-issues/#post-15116536)
 * Awesome – that was the missing link – I did a search with this information (I
   wasn’t sure, which of the plug-ins messed around there) – now I searched, and
   found this: [Solution thread](https://tompai.pro/wordpress/change-language-wordpress-not-working/)
   
   It is a setting in DIVI Themes: 1. Go in admin to Divi -> Theme Options -> General
   2. Scroll down and find Disable Translations 3. Click the slider to make it Disabled(
   gray) 4. Save settings (save button is at the top and at the bottom of the page)
 * Thanks a lot Chouby! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘html lang causing SEO issues’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [lang](https://wordpress.org/support/topic-tag/lang/)

 * 2 replies
 * 2 participants
 * Last reply from: [larsstl](https://wordpress.org/support/users/larsstl/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/html-lang-causing-seo-issues/#post-15116536)
 * Status: resolved