Title: IndieMan Custom Hreflang
Author: indiemansoft
Published: <strong>November 10, 2026</strong>
Last modified: November 10, 2026

---

Search plugins

![](https://ps.w.org/indieman-custom-hreflang/assets/banner-772x250.png?rev=3794963)

![](https://ps.w.org/indieman-custom-hreflang/assets/icon-256x256.png?rev=3794963)

# IndieMan Custom Hreflang

 By [indiemansoft](https://profiles.wordpress.org/indiemansoft/)

[Download](https://downloads.wordpress.org/plugin/indieman-custom-hreflang.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/indieman-custom-hreflang/#description)
 * [Reviews](https://wordpress.org/plugins/indieman-custom-hreflang/#reviews)
 *  [Installation](https://wordpress.org/plugins/indieman-custom-hreflang/#installation)
 * [Development](https://wordpress.org/plugins/indieman-custom-hreflang/#developers)

 [Support](https://wordpress.org/support/plugin/indieman-custom-hreflang/)

## Description

**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 `inLanguage` property in Schema.org JSON-LD structured data (WebPage,
      WebSite, Article).
    - Automatically filters and overrides hreflang attributes in Yoast XML Sitemaps.
 * **x-default Support:** Optionally output `<link rel="alternate" hreflang="x-default"...
   >` for default language targeting.
 * **HTML Lang Override:** Replaces `<html lang="...">` via native `language_attributes`
   filter.
 * **Core WordPress Locale Filter:** Overrides `get_locale()` and `pre_determine_locale`
   filters.
 * **Quick Presets & Live Tag Preview:** Easily choose from popular regional presets
   and inspect generated HTML code in real time.

## Screenshots

[⌊Main settings panel with live preview and quick language presets.⌉⌊Main settings
panel with live preview and quick language presets.⌉[

Main settings panel with live preview and quick language presets.

[⌊Yoast SEO OpenGraph, Schema, and XML Sitemap integration options.⌉⌊Yoast SEO OpenGraph,
Schema, and XML Sitemap integration options.⌉[

Yoast SEO OpenGraph, Schema, and XML Sitemap integration options.

## Installation

 1. Upload the `indieman-custom-hreflang` folder to the `/wp-content/plugins/` directory,
    or upload the zip archive via **Plugins -> Add New -> Upload Plugin**.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Navigate to **Settings -> Custom Hreflang** in the WordPress admin menu.
 4. Select a quick preset or manually enter your desired hreflang code.
 5. Click **Save Settings**.

## FAQ

### Does this plugin work if Yoast SEO is not installed?

Yes! The plugin works independently for core WordPress, outputting `<link rel="alternate"
hreflang="...">` tags and overriding `<html lang="...">`. If Yoast SEO is installed,
it seamlessly overrides Yoast’s OpenGraph and Schema locales as well.

### Will this plugin slow down my website?

Not at all. The plugin runs lightweight, highly-optimized PHP filters with zero 
external API calls or database overhead.

### Can I use this for multilingual websites?

This plugin is specifically designed to enforce a unified custom regional locale
across the entire website. For per-post translations, you can use it alongside your
favorite translation workflow.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“IndieMan Custom Hreflang” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ indiemansoft ](https://profiles.wordpress.org/indiemansoft/)

[Translate “IndieMan Custom Hreflang” into your language.](https://translate.wordpress.org/projects/wp-plugins/indieman-custom-hreflang)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/indieman-custom-hreflang/),
check out the [SVN repository](https://plugins.svn.wordpress.org/indieman-custom-hreflang/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/indieman-custom-hreflang/)
by [RSS](https://plugins.trac.wordpress.org/log/indieman-custom-hreflang/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial public release by IndieMan (wp.indieman.com.ua).
 * Full support for Yoast SEO, Schema JSON-LD, OpenGraph, and XML Sitemaps via pure
   native WordPress hooks.

## Meta

 *  Version **1.0.0**
 *  Last updated **1 hour ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [hreflang](https://wordpress.org/plugins/tags/hreflang/)[language](https://wordpress.org/plugins/tags/language/)
   [locale](https://wordpress.org/plugins/tags/locale/)[multilingual](https://wordpress.org/plugins/tags/multilingual/)
   [seo](https://wordpress.org/plugins/tags/seo/)
 *  [Advanced View](https://wordpress.org/plugins/indieman-custom-hreflang/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/indieman-custom-hreflang/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/indieman-custom-hreflang/reviews/)

## Contributors

 *   [ indiemansoft ](https://profiles.wordpress.org/indiemansoft/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/indieman-custom-hreflang/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://ko-fi.com/indiemansoft)