How to fix missing schema localbusiness on WordPress.org

Add a LocalBusiness JSON-LD schema block to your store so search engines and AI assistants can surface your business name, address, phone number, and hours in rich results and answer boxes.

Steps for WordPress.org

  1. Install 'Rank Math SEO' (free) from Plugins → Add New and activate it.
  2. Go to Rank Math → Titles & Meta → Local SEO, toggle Local SEO on, choose your business type, and fill in name, address, phone, and hours.
  3. Rank Math injects the compliant JSON-LD automatically on every page — no code editing needed.
  4. If you prefer manual injection without a plugin, go to Appearance → Theme File Editor → open your child theme's header.php and paste the script block before </head>.
  5. Validate at Google's Rich Results Test after saving.
Official WordPress.org documentation ↗
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Your Store Name",
  "url": "https://www.yourstore.com",
  "logo": "https://www.yourstore.com/logo.png",
  "image": "https://www.yourstore.com/storefront.jpg",
  "telephone": "+1-555-000-0000",
  "email": "hello@yourstore.com",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main Street",
    "addressLocality": "City",
    "addressRegion": "ST",
    "postalCode": "00000",
    "addressCountry": "US"
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
      "opens": "09:00",
      "closes": "18:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": "Saturday",
      "opens": "10:00",
      "closes": "16:00"
    }
  ],
  "sameAs": [
    "https://www.facebook.com/yourpage",
    "https://www.instagram.com/yourhandle"
  ]
}

What is missing schema localbusiness?

Schema markup is a standardised way of telling search engines — and the AI systems that power tools like Google's AI Overviews, ChatGPT, and Bing Copilot — exactly what your business is: your name, address, phone number, opening hours, and more. LocalBusiness schema is a specific vocabulary from Schema.org that wraps all of that information in a machine-readable JSON-LD script tag placed in your site's HTML. Without it, search engines have to guess these details by reading your page text, and they often get it wrong or skip you entirely.

Stores that have a physical location or serve a defined geographic area can appear in Google's local Knowledge Panel, map packs, and AI-generated answer boxes — high-visibility placements that drive foot traffic and online sales with zero ad spend. Missing LocalBusiness schema means your competitors who do have it are more likely to be chosen as the authoritative answer when a potential customer asks "shoe stores near me" or "best coffee shop in [city]." It also powers voice-search results on Alexa, Siri, and Google Assistant, which increasingly rely on structured data. Adding it is a genuine competitive advantage that can show measurable lifts in impressions and clicks within weeks of Google recrawling your site.

See the complete Missing schema localbusiness guide for every platform and the full background.

Not sure if your WordPress.org store has this?

Run a free SEOLZ audit — we’ll find missing schema localbusiness and every other issue across your whole site.

Scan my site free

Fix missing schema localbusiness on another platform