
IndieMan Custom Hreflang
v1.0.0indiemansoft · 2026年11月10日 上架
Override and inject custom hreflang tags, HTML lang attributes, and SEO OpenGraph/Schema locales across your entire WordPress website.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 169
- 最近更新
- 2026年11月11日
需要 WordPress 5.6+已测试到 7.1.5PHP 7.4+
贡献者
截图
IndieMan Custom Hreflang provides a clean, reliable solution for website owners and SEO specialists who need full control over their site’s language and regional targeting (hreflang), especially when WordPress or active themes lack the specific regional locale needed (such as uk-UA, sr-Latn-RS, en-US, etc.).
Key Features:
- Manual Hreflang Control: Specify any ISO language and country code (e.g.,
uk-UA,uk,en-US,pl-PL,de-DE, etc.). - Deep Yoast SEO Integration:
- Overrides OpenGraph
<meta property="og:locale">. - Updates the
inLanguageproperty in Schema.org JSON-LD structured data (WebPage, WebSite, Article). - Automatically filters and overrides hreflang attributes in Yoast XML Sitemaps.
- Overrides OpenGraph
- x-default Support: Optionally output
<link rel="alternate" hreflang="x-default" ...>for default language targeting. - HTML Lang Override: Replaces
<html lang="...">via nativelanguage_attributesfilter. - Core WordPress Locale Filter: Overrides
get_locale()andpre_determine_localefilters. - Quick Presets & Live Tag Preview: Easily choose from popular regional presets and inspect generated HTML code in real time.

