{"id":400602,"date":"2026-11-10T17:39:21","date_gmt":"2026-11-10T17:39:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/indieman-custom-hreflang\/"},"modified":"2026-11-10T17:38:57","modified_gmt":"2026-11-10T17:38:57","slug":"indieman-custom-hreflang","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/indieman-custom-hreflang\/","author":23601045,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.4","requires":"5.6","requires_php":"7.4","requires_plugins":null,"header_name":"IndieMan Custom Hreflang","header_author":"IndieMan","header_description":"Override and inject custom hreflang tags, HTML lang attributes, and SEO OpenGraph\/Schema locales across your entire WordPress website.","assets_banners_color":"646b78","last_updated":"2026-11-10 17:38:57","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ko-fi.com\/indiemansoft","header_plugin_uri":"","header_author_uri":"https:\/\/wp.indieman.com.ua","rating":0,"author_block_rating":0,"active_installs":0,"downloads":32,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"indiemansoft","date":"2026-11-10 17:38:57","revision":3794963}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3794963,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3794963,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3794963,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3794963,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3794963,"resolution":"1","location":"assets","locale":"","width":1000,"height":600},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3794963,"resolution":"2","location":"assets","locale":"","width":1000,"height":600}},"screenshots":{"1":"Main settings panel with live preview and quick language presets.","2":"Yoast SEO OpenGraph, Schema, and XML Sitemap integration options."}},"plugin_section":[],"plugin_tags":[2993,1385,3926,99,186],"plugin_category":[48,55],"plugin_contributors":[291904],"plugin_business_model":[],"class_list":["post-400602","plugin","type-plugin","status-publish","hentry","plugin_tags-hreflang","plugin_tags-language","plugin_tags-locale","plugin_tags-multilingual","plugin_tags-seo","plugin_category-language-tools","plugin_category-seo-and-marketing","plugin_contributors-indiemansoft","plugin_committers-indiemansoft"],"banners":{"banner":"https:\/\/ps.w.org\/indieman-custom-hreflang\/assets\/banner-772x250.png?rev=3794963","banner_2x":"https:\/\/ps.w.org\/indieman-custom-hreflang\/assets\/banner-1544x500.png?rev=3794963","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/indieman-custom-hreflang\/assets\/icon-128x128.png?rev=3794963","icon_2x":"https:\/\/ps.w.org\/indieman-custom-hreflang\/assets\/icon-256x256.png?rev=3794963","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/indieman-custom-hreflang\/assets\/screenshot-1.png?rev=3794963","caption":"Main settings panel with live preview and quick language presets."},{"src":"https:\/\/ps.w.org\/indieman-custom-hreflang\/assets\/screenshot-2.png?rev=3794963","caption":"Yoast SEO OpenGraph, Schema, and XML Sitemap integration options."}],"raw_content":"<!--section=description-->\n<p><strong>IndieMan Custom Hreflang<\/strong> provides a clean, reliable solution for website owners and SEO specialists who need full control over their site's language and regional targeting (<code>hreflang<\/code>), especially when WordPress or active themes lack the specific regional locale needed (such as <code>uk-UA<\/code>, <code>sr-Latn-RS<\/code>, <code>en-US<\/code>, etc.).<\/p>\n\n<h3>Key Features:<\/h3>\n\n<ul>\n<li><strong>Manual Hreflang Control:<\/strong> Specify any ISO language and country code (e.g., <code>uk-UA<\/code>, <code>uk<\/code>, <code>en-US<\/code>, <code>pl-PL<\/code>, <code>de-DE<\/code>, etc.).<\/li>\n<li><strong>Deep Yoast SEO Integration:<\/strong>\n\n<ul>\n<li>Overrides OpenGraph <code>&lt;meta property=\"og:locale\"&gt;<\/code>.<\/li>\n<li>Updates the <code>inLanguage<\/code> property in Schema.org JSON-LD structured data (WebPage, WebSite, Article).<\/li>\n<li>Automatically filters and overrides hreflang attributes in Yoast XML Sitemaps.<\/li>\n<\/ul><\/li>\n<li><strong>x-default Support:<\/strong> Optionally output <code>&lt;link rel=\"alternate\" hreflang=\"x-default\" ...&gt;<\/code> for default language targeting.<\/li>\n<li><strong>HTML Lang Override:<\/strong> Replaces <code>&lt;html lang=\"...\"&gt;<\/code> via native <code>language_attributes<\/code> filter.<\/li>\n<li><strong>Core WordPress Locale Filter:<\/strong> Overrides <code>get_locale()<\/code> and <code>pre_determine_locale<\/code> filters.<\/li>\n<li><strong>Quick Presets &amp; Live Tag Preview:<\/strong> Easily choose from popular regional presets and inspect generated HTML code in real time.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>indieman-custom-hreflang<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory, or upload the zip archive via <strong>Plugins -&gt; Add New -&gt; Upload Plugin<\/strong>.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Navigate to <strong>Settings -&gt; Custom Hreflang<\/strong> in the WordPress admin menu.<\/li>\n<li>Select a quick preset or manually enter your desired hreflang code.<\/li>\n<li>Click <strong>Save Settings<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20work%20if%20yoast%20seo%20is%20not%20installed%3F\"><h3>Does this plugin work if Yoast SEO is not installed?<\/h3><\/dt>\n<dd><p>Yes! The plugin works independently for core WordPress, outputting <code>&lt;link rel=\"alternate\" hreflang=\"...\"&gt;<\/code> tags and overriding <code>&lt;html lang=\"...\"&gt;<\/code>. If Yoast SEO is installed, it seamlessly overrides Yoast's OpenGraph and Schema locales as well.<\/p><\/dd>\n<dt id=\"will%20this%20plugin%20slow%20down%20my%20website%3F\"><h3>Will this plugin slow down my website?<\/h3><\/dt>\n<dd><p>Not at all. The plugin runs lightweight, highly-optimized PHP filters with zero external API calls or database overhead.<\/p><\/dd>\n<dt id=\"can%20i%20use%20this%20for%20multilingual%20websites%3F\"><h3>Can I use this for multilingual websites?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial public release by IndieMan (wp.indieman.com.ua).<\/li>\n<li>Full support for Yoast SEO, Schema JSON-LD, OpenGraph, and XML Sitemaps via pure native WordPress hooks.<\/li>\n<\/ul>","raw_excerpt":"Override and inject custom hreflang tags, HTML lang attributes, and SEO OpenGraph\/Schema locales across your entire WordPress website.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/400602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=400602"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/indiemansoft"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=400602"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=400602"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=400602"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=400602"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=400602"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=400602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}