Marking Up a Local Business Site With LocalBusiness Schema (Without Breaking Your Google Profile)
If you build websites for local businesses, the schema markup is often the part nobody checks. A clinic or shop can have a clean site and still send search engines mixed signals, because the address on the page doesn't m
If you build websites for local businesses, the schema markup is often the part nobody checks. A clinic or shop can have a clean site and still send search engines mixed signals, because the address on the page doesn't match the address in the profile.
This post walks through a basic LocalBusiness block in JSON-LD, the format Google documents for structured data. It's the same information a customer sees on the page, written in a form machines can read.
Start with the facts that must match
Before you write any code, collect the business details exactly as they appear on the Google Business Profile. Use the same name, street address, phone number and website. Small differences matter. "Tailoring Works" and "Tailors" are two different strings to a parser.
A minimal example
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Example Tailoring Works",
"url": "https://www.example.in/",
"telephone": "+91-00000-00000",
"address": {
"@type": "PostalAddress",
"streetAddress": "Door No. 12, Main Road",
"addressLocality": "Kozhikode",
"addressRegion": "Kerala",
"postalCode": "673001",
"addressCountry": "IN"
},
"openingHours": "Mo-Sa 09:30-20:00",
"areaServed": ["Kozhikode", "Feroke"]
}
</script>
Replace every value with your real details. Don't copy this block with placeholder numbers still in it.
Only mark up what the page shows
Google's guidelines say structured data should describe content visible to users. If the schema lists opening hours that aren't on the page, or a service area you don't cover, that's a mismatch. Put the same hours and towns in visible text on the page, then mark them up.
Check the output, not just the code
Paste your page into Google's Rich Results Test and check for errors. Then open the Google Business Profile and compare the name, address, phone and hours one more time. The schema is only useful if the profile agrees with it.
Where the schema fits
Schema doesn't replace good content. It helps search engines and AI tools confirm what your page is about. A clear service description, a visible FAQ and a matching profile do most of the work, and the markup makes that information easier to parse.
If you want help auditing a local business site for this, I offer a free SEO audit for Kerala businesses: https://farsanaa.in/seo-expert-kerala/
Farsana is a digital marketing consultant in Kerala. She works on SEO, local SEO, Google Business Profile and AI search.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.