Title: Remove specific language
Last modified: September 6, 2021

---

# Remove specific language

 *  Resolved [Rhys](https://wordpress.org/support/users/rjdusk/)
 * (@rjdusk)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/remove-specific-language/)
 * Hi team,
    I’m trying to find a way to remove this tag:
 * `<meta property="og:locale:alternate" content="pt_PT">`
 * For certain languages, in this case for RU and PT. The reason why is because 
   these pages are set to noindex, nofollow, but still show in the HEAD of other
   languages of the same page. Any insights would be great!
 * Thanks

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

 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/remove-specific-language/#post-14841171)
 * Hi [@rjdusk](https://wordpress.org/support/users/rjdusk/)
 * We’d like to refer you to our documentation here on modifying the output of the`
   og:locale` tag – [https://developer.yoast.com/features/opengraph/api/changing-og-locale-output/](https://developer.yoast.com/features/opengraph/api/changing-og-locale-output/)
 *  Thread Starter [Rhys](https://wordpress.org/support/users/rjdusk/)
 * (@rjdusk)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/remove-specific-language/#post-14841334)
 * [@mikes41720](https://wordpress.org/support/users/mikes41720/) thanks for that
   pointer, I’ll try and figure out how to make this work with removing certain 
   language og:locale:alternate metas. I see the two functions on the linked documentation
   either set the default locale (og:locale) or remove it entirely.
 * No doubt I need to dig deeper into how to unset certain og:locale:alternate metas,
   but any pointers would be greatly appreciated 🙂
 * Thanks again!
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/remove-specific-language/#post-14843456)
 * [@rjdusk](https://wordpress.org/support/users/rjdusk/) Thanks for your reply.
   Unfortunately we can’t offer support on custom code. Since we don’t want to take
   the risk that we break your website by suggesting incorrect or incomplete code,
   we cannot advise you on how to make such changes. Maybe someone watching these
   forums can assist you further, but if your topic is inactive for 7 days, we’ll
   mark it as resolved to keep the overview.
 * Thank you for your understanding.
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/remove-specific-language/#post-14863680)
 * We are going ahead and marking this issue as resolved due to inactivity. If you
   require any further assistance please create a new issue.

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

The topic ‘Remove specific language’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [language](https://wordpress.org/support/topic-tag/language/)
 * [locale](https://wordpress.org/support/topic-tag/locale/)

 * 4 replies
 * 3 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/remove-specific-language/#post-14863680)
 * Status: resolved