Google already knows a lot about your business from your Google Business Profile, your website and the directories that list you. The problem is that those sources do not always agree, and Google has to guess which version is right. Local business schema is how your website states the facts clearly, in a format machines read without guessing: your exact name, address, phone number, opening hours, location and the profiles that belong to you. It takes an hour to add properly, and it is one of the most overlooked parts of local SEO.
This guide covers what the markup does (and what it does not), a full example you can adapt, how to add it to WordPress without duplicates, and how to test it.
What local business schema actually does
Schema markup is structured data using the shared vocabulary at schema.org, which Google, Bing and other search engines support. For a local business, the relevant type is LocalBusiness or one of its more specific subtypes. Google supports several formats but recommends JSON-LD: a block of code in the page that visitors never see.
Be realistic about the benefits. Structured data for local business:
- Confirms your details — name, address, phone and hours in an unambiguous format, consistent with your Business Profile.
- Connects your identity — the
sameAsproperty links your website to your Business Profile, social profiles and major directory listings, so they are understood as one business. - Clarifies what you are — a specific type such as
PlumberorDentistsays more than a page of text can. - Makes some search features possible — Google can use it for business details shown in search, though it never guarantees any particular display.
What it does not do is push you up the rankings on its own. Google has said structured data is not a direct ranking factor. It is a foundation: it removes doubt, and doubt is what keeps local businesses out of the map pack and out of AI-generated answers. It works alongside the work in the Google Business Profile optimisation checklist, not instead of it.
Choosing the right type
Use the most specific type schema.org offers for your business. A few common examples:
| Business | Schema type | Notes |
|---|---|---|
| Plumber, electrician, roofer, HVAC | Plumber, Electrician, RoofingContractor, HVACBusiness |
All sit under HomeAndConstructionBusiness |
| Dental practice | Dentist |
A medical business subtype |
| Law firm, solicitor | LegalService or Attorney |
Check which fits your practice |
| Restaurant, café | Restaurant, CafeOrCoffeeShop |
Can add servesCuisine and menu |
| Hair or beauty salon | HairSalon, BeautySalon |
Under HealthAndBeautyBusiness |
| Accountant | AccountingService |
A financial service subtype |
| Nothing specific fits | LocalBusiness |
Perfectly valid on its own |
Always check the type exists on schema.org before using it — invented types are ignored.
A local business schema example you can adapt
This is a complete, realistic block for a single-location business. Replace every value with your own, delete any line you cannot fill accurately, and keep the details identical to your Business Profile.
{
"@context": "https://schema.org",
"@type": "Plumber",
"@id": "https://www.example.com/#business",
"name": "Example Plumbing Ltd",
"url": "https://www.example.com/",
"telephone": "+44 113 496 0000",
"image": "https://www.example.com/images/van.jpg",
"logo": "https://www.example.com/images/logo.png",
"priceRange": "££",
"address": {
"@type": "PostalAddress",
"streetAddress": "12 Example Street",
"addressLocality": "Leeds",
"postalCode": "LS1 1AA",
"addressCountry": "GB"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 53.79648,
"longitude": -1.54785
},
"openingHoursSpecification": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "08:00",
"closes": "18:00"
}],
"areaServed": ["Leeds", "Bradford", "Wakefield"],
"sameAs": [
"https://www.facebook.com/exampleplumbing",
"https://www.linkedin.com/company/exampleplumbing"
]
}
On the page it sits inside a <script type="application/ld+json"> tag, usually in the head. A few notes on the properties:
nameandaddressare the properties Google lists as required for its local business feature. Use your real trading name — not a keyword-stuffed version.@idgives the business a stable identifier, so other markup on the site (an SEO plugin’s organisation data, for example) can refer to the same entity instead of creating a second one.telephoneshould include the country code and match the number on the page and on your profile.geocoordinates should be precise; Google’s documentation asks for at least five decimal places.openingHoursSpecificationuses 24-hour times. Add separate entries for different days, and update them for seasonal hours.areaServedlists the towns or regions you cover — useful for businesses that travel to customers.sameAslists profiles that are genuinely yours. Your Business Profile’s public link can go here too.
Do not mark up your own reviews. Google stopped showing review stars for LocalBusiness and Organization markup when the business adds reviews about itself to its own site. Adding aggregateRating for your own testimonials will not earn stars and, if the numbers are not shown on the page or are inflated, risks a manual action for misleading structured data.
Service area businesses and multiple locations
If you hide your address on your Business Profile because you travel to customers, do not publish the street address in your schema either — consistency matters more than completeness. Use areaServed for the towns you cover, include the locality and region you are based in, and accept that Google’s local business feature expects a full address, so the markup’s role here is mainly to confirm identity rather than earn a display. The wider strategy for these businesses is covered in local SEO for service area businesses.
Businesses with several branches should give each location its own page with its own LocalBusiness block, its own @id, address, phone and hours. Do not put every branch into one block on the home page.
How to add schema to WordPress
-
Check what is already there.
Run your home page and contact page through the Rich Results Test first. Many themes and SEO plugins already output
OrganizationorLocalBusinessmarkup, sometimes with outdated details. You want one clear source, not three competing ones. -
Choose one method.
Either use your SEO plugin’s local settings — Rank Math has a local SEO module and Yoast sells a Local SEO add-on, though which features are free or paid changes over time — or write the JSON-LD by hand and add it with a code snippets plugin or in the child theme. Plugins are easier to keep updated; hand-written markup gives you full control over the type and properties.
-
Fill in the details from your Business Profile.
Copy the name, address, phone and hours exactly as they appear on your profile. Abbreviations, old numbers and different opening hours are the usual inconsistencies.
-
Avoid duplicates.
If you add a hand-written block, switch off the overlapping output in the plugin, or link them with the same
@idso they describe one entity. -
Test, then request indexing.
Test the live URL, fix any errors, and use URL Inspection in Search Console to ask Google to recrawl the page.
Checking and maintaining the markup
Two free tools cover it. Google’s Rich Results Test shows whether Google can read the markup and whether the page is eligible for supported features, with errors and warnings. The Schema Markup Validator at validator.schema.org checks general schema.org correctness, including properties Google does not use. A clean result means the code is valid, not that the information is right, so compare every value against the visible page and your Business Profile by eye.
Then put it on the maintenance list. Change your phone number, move premises, or adjust your hours, and the schema needs updating the same day as the profile. Clear, consistent business data also helps AI search tools describe you correctly — the guide to AI SEO and AI Overviews covers that side.
Mistakes that make Google ignore it
- Details that differ from the Business Profile or from what the page shows.
- Two or three plugins each outputting their own version of the business.
- Marking up reviews or ratings the business collected about itself.
- Stuffing keywords into the
nameproperty. - Publishing a street address in schema that is hidden on the Business Profile.
- Using an invented type, or generic
LocalBusinesswhen a specific subtype exists. - Putting every branch into one block instead of one block per location page.
- Never updating it after a move, new number or change in hours.
Further reading: Google: local business structured data · schema.org: LocalBusiness · Google Rich Results Test.
FAQ
What is local business schema?
It is structured data, usually a block of JSON-LD code on your website, that describes your business in a format search engines read reliably: name, address, phone number, opening hours, location, website and linked profiles. It uses the LocalBusiness type from schema.org, or a more specific subtype such as Plumber or Dentist, and it supports the information on your Google Business Profile.
Does local business schema improve rankings?
Not directly. Google has said structured data is not a ranking factor in itself. What it does is remove ambiguity: it confirms your business details, connects your website to your other profiles, and makes the page eligible for some search features. Treat it as a technical foundation for local SEO rather than a quick ranking boost.
How do I add schema to WordPress?
The simplest route is an SEO plugin with local business settings, such as Rank Math or Yoast with its Local SEO add-on, which builds the markup from fields you fill in. Alternatively, paste a hand-written JSON-LD block into the site head using a code snippets plugin or the child theme. Either way, make sure only one source outputs your business details.
How do I check my local business schema?
Run the page through Google’s Rich Results Test to see whether Google can read the markup and whether it has errors or warnings, and through the Schema Markup Validator for general schema.org correctness. Then compare every value against your Google Business Profile and the visible page, because valid markup with the wrong phone number is still wrong.
Which schema type should a local business use?
Use the most specific schema.org type that fits, such as Plumber, Electrician, HVACBusiness, Dentist, LegalService or Restaurant, rather than the generic LocalBusiness. Check the type exists on schema.org before using it. If nothing specific fits, LocalBusiness on its own is perfectly valid, and you can describe your services in other properties.
Want local business schema added, matched to your Business Profile and tested on every location page? See the technical SEO services — it is a small job that tidies up how Google sees the whole business.