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.
| Tag | Wrong | Right |
|---|---|---|
| og:locale | en-GB, english, en | en_GB |
| og:locale | en_US on a German page | de_DE |
| og:type | blog, page, homepage | website, article, product |
| og:type | article on the homepage | website |
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.
- 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.
- Page publishedTemplate outputs og:type and og:locale
- Wrong valueen-US or article on a homepage
- Platform reads pageMisreads language or content kind
- 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
View the page source
Open the page, right-click, choose View page source, and search for og:locale and og:type.
Compare with the page
Does the locale match the page language and region? Does the type match the page kind?
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.
Test several page types
Check the homepage, a blog post, a product page and a translated page. Templates often differ.
<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
Set the site language
Go to Settings > General > Site Language. Most SEO plugins build og:locale from this.
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.
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.
Open the theme code
Go to Online Store > Themes > Edit code and open layout/theme.liquid or the social-meta-tags snippet.
Correct the tags
Make sure og:type is product on product pages and website elsewhere, and set og:locale to match your store language, for example en_US.
Edit page settings
Webflow sets og:type for you in most cases. For custom values, add a meta tag in Page settings > Custom code in the head.
Avoid duplicates
If you add custom tags, remove any duplicate Open Graph tags so only one value per property is output.
Open social share settings
In the page's SEO settings, open Social share and review what is set. Wix generates og:type and og:locale from page and site language settings.
Fix the language
Check the site or multilingual language settings so the locale matches the page.
Check the site language
Squarespace builds og:locale from your region and language settings under Settings > Language & Region.
Review code injection
Open Settings > Advanced > Code Injection and remove any hand-written og tags that conflict with the generated ones.
Set tags in the head template
Output one og:type and one og:locale per page, chosen by page kind and language, not hard-coded across the whole site.
Match the html lang attribute
Keep
<html lang="en-GB">consistent with og:locale en_GB so search and social signals agree.
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
Clear caches
Purge your site, plugin and CDN caches so the new head is served.
Re-read the source
View the page source again and confirm one og:type and one og:locale with the right values.
Rescrape
In the Facebook Sharing Debugger, click Scrape Again so the platform drops its cached copy.
Test each template
Repeat for homepage, post, product and translated pages.
How to prevent it happening again
- 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.
Related issues
- SEO-233og:title / og:description missingFix guide
- SEO-234og:image missing, broken or wrong sizeFix guide
- SEO-235og:url points to staging or a different pageFix guide
- SEO-236Twitter card tags missingFix guide
- SEO-237Shared links show a cached old image or titleFix guide
- SEO-239Same OG image and title on every pageFix guide