Missing schema localbusiness
Quick winFound on 20% of audited stores.
Add LocalBusiness JSON-LD structured data to your store so search engines and AI answer engines can surface your business name, address, phone number, and hours in rich results and direct answers.
What it is
LocalBusiness schema is a block of machine-readable code (called structured data or schema markup) that you embed in your website to formally tell Google, Bing, and AI assistants exactly what your business is: its name, physical address, phone number, opening hours, and more. It uses a universal vocabulary defined at Schema.org so every search engine and AI tool reads it the same way. It sits invisibly inside your page's HTML and never changes what shoppers see — it only speaks to machines. Without it, search engines have to guess your business details from your page text, and they often get it wrong or skip rich features entirely.
Why it matters
LocalBusiness schema directly powers Google's Knowledge Panel, the map pack snippet, and voice-search/AI answers — all of which put your business in front of high-intent shoppers before they even click a result. Stores with complete schema are significantly more likely to appear in zero-click answer boxes and AI-generated responses (AEO — Answer Engine Optimization), driving brand visibility without needing a click. Missing or incomplete schema means a competitor who has it can outrank you in these rich placements even if your page content is identical. For stores with a physical location or local service area, this is one of the highest-leverage, lowest-effort SEO wins available.
How to fix it
- Gather the exact details you want to publish: legal business name, full street address, city, state/region, postal code, country, primary phone number, and (optionally) opening hours, website URL, logo URL, and social profile links.
- Choose JSON-LD format (Google's recommended method) and create a <script type='application/ld+json'> block containing your LocalBusiness object.
- Set '@type' to the most specific subtype that fits your business — e.g. 'Store', 'ClothingStore', 'HomeGoodsStore', 'ElectronicsStore' — which inherits all LocalBusiness properties and gives search engines richer context.
- Paste the completed JSON-LD block into the <head> or just before the closing </body> tag of every page where you want it to appear — at minimum your homepage and contact page.
- Validate the markup using Google's Rich Results Test (search 'Rich Results Test') and fix any errors or warnings it reports.
- Monitor Google Search Console's 'Enhancements' section over the following weeks to confirm the schema has been indexed without errors.
Fix it on your platform
Pick your platform for the exact steps.
How to fix missing schema localbusiness on Shopify
- From your Shopify admin, go to Online Store → Themes.
- Click the '...' (Actions) button next to your live theme, then select 'Edit code'.
- In the Layout folder, open 'theme.liquid'.
- Paste your completed JSON-LD <script> block just before the closing </head> tag.
- Click 'Save'. The schema will now appear on every page of your store.
- For more control (e.g. homepage only), open 'index.liquid' under Templates and paste the block there instead.
How to fix missing schema localbusiness on WooCommerce
- Install and activate the free plugin 'Yoast SEO' or 'Rank Math SEO' from the WordPress plugin directory (Plugins → Add New).
- For Yoast SEO: go to Yoast SEO → Settings → Site representation. Fill in your organization name, logo, and social profiles — Yoast auto-generates the LocalBusiness/Organization JSON-LD.
- For Rank Math: go to Rank Math → Titles & Meta → Local SEO and enable 'Local Business Schema'. Fill in your address, phone, and hours.
- Alternatively, paste a custom JSON-LD block via Appearance → Theme Editor → header.php just before </head>, or use a plugin like 'Insert Headers and Footers' (Settings → Insert Headers and Footers → Scripts in Header).
- Save and validate with Google's Rich Results Test.
How to fix missing schema localbusiness on BigCommerce
- From your BigCommerce admin, go to Storefront → My Themes.
- Click 'Advanced' → 'Edit Theme Files' on your active theme.
- Open 'templates/layout/base.html' (or your base template file).
- Paste your JSON-LD <script> block just before the closing </head> tag.
- Click 'Save & Apply'. For homepage-only placement, edit 'templates/pages/home.html' instead.
- Validate with Google's Rich Results Test.
How to fix missing schema localbusiness on Wix
- In the Wix Editor, click on the page where you want the schema (typically the homepage).
- Click the page settings gear icon or go to Pages & Menu → the three-dot menu next to your page → SEO.
- Scroll to the 'Structured Data Markup (JSON-LD)' field (also called 'Advanced SEO' → 'Structured Data').
- Paste your complete JSON-LD object into that field and save.
- Alternatively use the Wix SEO Wiz (Marketing & SEO → SEO Tools → SEO Setup Checklist) which can generate basic LocalBusiness schema for you.
- Publish your site and verify with Google's Rich Results Test.
How to fix missing schema localbusiness on Squarespace
- In your Squarespace admin, go to Settings → Advanced → Code Injection.
- Paste your complete JSON-LD <script> block into the 'Header' field — this injects it site-wide into the <head> on every page.
- Click 'Save'.
- For page-specific injection (e.g. homepage only), open the Pages panel, click the gear icon on the target page, go to Advanced → Page Header Code Injection, and paste the block there.
- Publish and validate with Google's Rich Results Test.
How to fix missing schema localbusiness on Webflow
- In the Webflow Designer, open your Project Settings (the gear icon in the top-left).
- Go to the 'Custom Code' tab.
- Paste your complete JSON-LD <script> block into the 'Head Code' field — this adds it to every published page.
- Click 'Save Changes', then publish your site.
- For page-specific placement, select the target page in the Pages panel, click the gear icon next to it, and paste the block into 'Custom Code → Inside <head> tag'.
- Validate with Google's Rich Results Test after publishing.
How to fix missing schema localbusiness on Adobe Commerce (Magento)
- SSH into your server (or use your hosting file manager) and navigate to your active theme directory, typically app/design/frontend/<Vendor>/<theme>/Magento_Theme/layout/.
- Open or create the file 'default_head_blocks.xml'.
- Add a block that renders a .phtml template containing your JSON-LD script tag, or directly inject the script via a CMS block.
- Alternatively, go to Admin → Content → Blocks → Add New Block. Paste your JSON-LD script there, then insert the block into your homepage or store's root template via Admin → Content → Pages → Homepage → Design → Layout Update XML using the referenceContainer method.
- Flush the Magento cache (System → Cache Management → Flush Cache Storage) and validate with Google's Rich Results Test.
How to fix missing schema localbusiness on WordPress.org
- Install 'Yoast SEO' or 'Rank Math SEO' from Plugins → Add New.
- For Yoast: navigate to Yoast SEO → Settings → Site representation. Set type to 'Organization' or 'Person', add your business name, logo, and social profiles.
- For Rank Math: go to Rank Math → Titles & Meta → Local SEO, toggle on 'Local Business', and fill in your complete address, phone, and opening hours.
- For a fully manual approach, install 'Insert Headers and Footers' plugin, then go to Settings → Insert Headers and Footers and paste your JSON-LD block in the 'Scripts in Header' box.
- Save and validate with Google's Rich Results Test.
How to fix missing schema localbusiness on Wix Studio
- In Wix Studio, open the site editor and select the page you want to add schema to (start with the homepage).
- Click the page settings icon → SEO → Advanced SEO.
- Locate the 'Structured Data Markup' text area and paste your complete JSON-LD object.
- Save and republish the site.
- Validate with Google's Rich Results Test.
How to fix missing schema localbusiness on BigCommerce for WP
- Follow the WooCommerce/WordPress.org steps above since this plugin runs within WordPress.
- Use 'Insert Headers and Footers' (Settings → Insert Headers and Footers → Scripts in Header) to paste the JSON-LD block site-wide.
- Validate with Google's Rich Results Test.
How to fix missing schema localbusiness on Shopify Plus
- Same as Shopify: Online Store → Themes → Edit code → theme.liquid, paste before </head>.
- On Shopify Plus you can also deploy the script tag globally via the Shopify Scripts editor or a custom Storefront API integration if you manage headless storefronts.
- Enterprise teams often use the 'JSON-LD for SEO' app which supports multi-location and organisation schema with a GUI.
How to fix missing schema localbusiness on Magento Open Source
- Same approach as Adobe Commerce: Content → Design → Configuration → Edit your store view → HTML Head → Scripts and Style Sheets field.
- Paste the <script type='application/ld+json'>…</script> block and save, then flush caches via System → Cache Management.
- For version-controlled deployments, add the script via app/design/frontend/<Vendor>/<theme>/Magento_Theme/layout/default_head_blocks.xml or a custom module.
How to fix missing schema localbusiness on PrestaShop
- Go to Modules → Module Manager and install a structured data module such as 'SEO & Rich Snippets' or 'Structured Data Markup'.
- Fill in your LocalBusiness details in the module's configuration panel.
- Alternatively, edit your active theme's header.tpl file (located in themes/<your-theme>/templates/_partials/head.tpl) to paste the JSON-LD block before </head>, then clear the cache via Advanced Parameters → Performance → Clear Cache.
How to fix missing schema localbusiness on Next.js (Headless)
- Create a reusable `LocalBusinessJsonLd` component at `components/seo/LocalBusinessJsonLd.tsx` that accepts your business data as props and renders a `<script type='application/ld+json'>` tag using Next.js's `<Script>` component (or a plain `<script>` tag inside the component).
- Populate the JSON-LD object with all required and recommended LocalBusiness fields: `@context`, `@type`, `name`, `url`, `telephone`, `address` (PostalAddress), `openingHoursSpecification`, `image`, and `geo` (if available). Source these values from your CMS, environment variables, or a central site-config file (e.g. `lib/site-config.ts`).
- Import and render `<LocalBusinessJsonLd />` in your root layout file (`app/layout.tsx` for the App Router, or `pages/_app.tsx` / `pages/index.tsx` for the Pages Router) so the schema appears on every page — or at minimum on the homepage and contact page.
- For the App Router, place the component inside the `<body>` of `app/layout.tsx` (Next.js will hoist `<script>` tags correctly). For the Pages Router, wrap it with `next/head` using a `<script>` tag with `dangerouslySetInnerHTML`.
- Validate the output with Google's Rich Results Test (https://search.google.com/test/rich-results) and Schema.org Validator (https://validator.schema.org/) to confirm all required fields pass without errors.
- Extend the `@type` to a more specific subtype if applicable (e.g. `ClothingStore`, `FurnitureStore`, `ElectronicsStore`) so AI answer engines and Google can surface even richer results for your category.
Does your site have this issue?
Run a free SEOLZ scan to find missing schema localbusiness — and every other issue — across your whole site in minutes.
Scan my site freeFrequently asked questions
What is Missing schema localbusiness?
LocalBusiness schema is a block of machine-readable code (called structured data or schema markup) that you embed in your website to formally tell Google, Bing, and AI assistants exactly what your business is: its name, physical address, phone number, opening hours, and more. It uses a universal vocabulary defined at Schema.org so every search engine and AI tool reads it the same way. It sits invisibly inside your page's HTML and never changes what shoppers see — it only speaks to machines. Without it, search engines have to guess your business details from your page text, and they often get it wrong or skip rich features entirely.
Why does missing schema localbusiness matter?
LocalBusiness schema directly powers Google's Knowledge Panel, the map pack snippet, and voice-search/AI answers — all of which put your business in front of high-intent shoppers before they even click a result. Stores with complete schema are significantly more likely to appear in zero-click answer boxes and AI-generated responses (AEO — Answer Engine Optimization), driving brand visibility without needing a click. Missing or incomplete schema means a competitor who has it can outrank you in these rich placements even if your page content is identical. For stores with a physical location or local service area, this is one of the highest-leverage, lowest-effort SEO wins available.
How do I fix missing schema localbusiness?
Add LocalBusiness JSON-LD structured data to your store so search engines and AI answer engines can surface your business name, address, phone number, and hours in rich results and direct answers.
Authoritative references
- Intro to structured data — Google Search Central
- Getting started with schema.org — Schema.org
- Rich Results Test — Google Search Central