Skip to content
FunnelGuard

Fix guide by FunnelsGuard

og:locale or og:type wrong: how to find and fix it

SEO-240Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Open Graph is a set of <meta> tags in your page head that tell Facebook, LinkedIn, WhatsApp and other platforms how to show a shared link. Two of them describe the content itself. og:locale is the language and region of the page. og:type is the kind of object, such as a website, an article or a product.

Common values and what they should be
TagWrongRight
og:localeen-GB, english, enen_GB
og:localeen_US on a German pagede_DE
og:typeblog, page, homepagewebsite, article, product
og:typearticle on the homepagewebsite

Why it costs you leads or sales

The direct impact is low. A wrong tag rarely breaks a preview on its own. The cost is indirect and small but real.

Where wrong values hurt
  • Platforms may ignore or misread the locale, so language-specific features and translations of your preview can be wrong.
  • A wrong og:type can mean article-only fields (author, published time) are missing or misapplied, or product fields are not read.
  • Validators show warnings, which makes it harder to spot more serious Open Graph problems in the noise.
  • On multilingual sites, a wrong locale makes the shared link look like it belongs to the wrong market.
How a wrong tag reaches your audience
  1. Page publishedTemplate outputs og:type and og:locale
  2. Wrong valueen-US or article on a homepage
  3. Platform reads pageMisreads language or content kind
  4. Link previewOdd or incomplete card

The break is in the page head, so every share inherits it.

How to check if your site has it

Check your og tags
  1. View the page source

    Open the page, right-click, choose View page source, and search for og:locale and og:type.

  2. Compare with the page

    Does the locale match the page language and region? Does the type match the page kind?

  3. Run a debugger

    Paste the URL into the Facebook Sharing Debugger or the LinkedIn Post Inspector and read the values it reports. Warnings about the type or locale show up here.

  4. Test several page types

    Check the homepage, a blog post, a product page and a translated page. Templates often differ.

What correct tags look likehtml
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_GB" />
<meta property="og:locale:alternate" content="fr_FR" />

How to fix it

Fix by platform
  1. Set the site language

    Go to Settings > General > Site Language. Most SEO plugins build og:locale from this.

  2. Check your SEO plugin

    In Yoast SEO, Rank Math or similar, open the social settings and confirm only one plugin outputs Open Graph tags. Duplicates from the theme and a plugin are a common cause.

  3. Set the type per content type

    In the plugin's content type settings, use article for posts and website for pages where an option exists.

Tags before and after

Before

  • og:locale = en-US
  • og:type = article on the homepage
  • Two sets of og tags from theme and plugin

After

  • og:locale = en_US
  • og:type = website on the homepage
  • One set of tags from a single source

How to confirm it's fixed

Confirm the fix
  1. Clear caches

    Purge your site, plugin and CDN caches so the new head is served.

  2. Re-read the source

    View the page source again and confirm one og:type and one og:locale with the right values.

  3. Rescrape

    In the Facebook Sharing Debugger, click Scrape Again so the platform drops its cached copy.

  4. Test each template

    Repeat for homepage, post, product and translated pages.

How to prevent it happening again

Keep the tags right
  • Let one source (one SEO plugin or one template) output Open Graph tags.
  • Re-check og tags after changing themes, SEO plugins or site language.
  • Add a social tag check to your launch checklist for new page types and translations.
  • Keep og:locale in step with the html lang attribute.
  • Spot-check key pages with a debugger after big releases.

How FunnelGuard handles this

FunnelGuard does not check og:locale or og:type today. It is a possible future check, and we do not claim it covers this issue.

Nearby, FunnelGuard runs your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, and checks each step, tracking hits to ad and analytics platforms, and whether test leads reach your inbox and CRM. That covers the parts of the funnel that make money, not the social preview tags.

Questions people ask

What is the correct format for og:locale?

Use a language code, an underscore, then a territory code, for example en_GB, en_US or fr_FR. Hyphens (en-GB) and bare language codes (en) are not the standard Open Graph format.

What should og:type be on my homepage?

Use website for a homepage and for most general pages. Use article for blog posts and news, and product for product pages.

Why is my og:locale showing en_US when my site is British?

Your platform or SEO plugin is likely using a default or a site language setting that is still set to US English. Change the site language (in WordPress, Settings > General > Site Language) and clear caches.

Does a wrong og:type hurt my SEO rankings?

Open Graph tags are read by social platforms, not used as a Google ranking factor. A wrong og:type mainly affects how shared links are understood and displayed.

Do I need og:locale:alternate?

Only if your page exists in other languages. List each real translation's locale, such as fr_FR, and leave it out on single-language pages.

Why do I have two og:type tags on my page?

Usually your theme and an SEO plugin both output Open Graph tags. Turn off the duplicate in one of them so each property appears once.

How do I check og:type and og:locale quickly?

View the page source and search for og:type and og:locale, or paste the URL into the Facebook Sharing Debugger. Both show the values platforms will read.

Does FunnelGuard check og:locale or og:type?

No. FunnelGuard does not check Open Graph tags yet; it is a possible future check. Use a debugger or view the page source for now.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.