Menu

How to Add LocalBusiness Schema (JSON-LD) to a Small Business Website
📰

How to Add LocalBusiness Schema (JSON-LD) to a Small Business Website

DEV Community·Rajni gupta·7 days ago
#ALtC0AQd
#dev#local#schema#engines#name
Long article (291 words) — no AI summary yet.
Reading 0:00
15s threshold

If you build sites for local businesses, structured data is one of the cheapest SEO wins available. LocalBusiness schema tells search engines your client's name, address, phone, hours and service area in a machine-readable way, which supports Maps visibility and rich results.

The minimal JSON-LD block

Add this inside the <head> (or anywhere in the body) of the homepage and contact page:

<script type = "application/ld+json" > { "@context" : "https://schema.org" , "@type" : "ProfessionalService" , "name" : "Your Business Name" , "url" : "https://example.com/" , "telephone" : "+91-00000-00000" , "address" : { "@type" : "PostalAddress" , "streetAddress" : "Street address" , "addressLocality" : "Ludhiana" , "addressRegion" : "Punjab" , "addressCountry" : "IN" } , "openingHours" : "Mo-Sa 10:00-19:00" , "areaServed" : "Ludhiana" } </script>

Enter fullscreen mode

Exit fullscreen mode

Tips that matter in practice

Pick the most specific type. ProfessionalService , Dentist , Store etc.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.