Title: Language code doesn&#8217;t change
Last modified: October 27, 2022

---

# Language code doesn’t change

 *  [BlackStar](https://wordpress.org/support/users/blackstar1991/)
 * (@blackstar1991)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/language-code-doesnt-change/)
 * I need to change Language code from `en` to `en-in` for hreflang
    [⌊1⌉](https://ibb.co/VgnzgYM)
   But it’s doesn’t work. I got that result.
 *     ```
       <link rel="alternate" href="https://test.com/" hreflang="en">
       ```
   
 * What is the problem ? Why this rule work only if I have other en(en_ZA for example)
   but I don’t need it, it will be going on 404 page (I don’t have text for this
   page, but it showing in `<head>`).
    [⌊404-page⌉](https://ibb.co/JqJ48rK)

The topic ‘Language code doesn’t change’ 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/)

 * 0 replies
 * 0 participants
 * Last reply from: [BlackStar](https://wordpress.org/support/users/blackstar1991/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/language-code-doesnt-change/)
 * Status: not resolved