Table of Contents
Implementing Schema.org LocalBusiness markup is essential for multi-location businesses seeking to improve their local SEO and enhance their visibility in search engine results. Proper markup helps search engines understand the details of each business location, such as address, phone number, and operating hours.
Understanding Schema.org LocalBusiness Markup
Schema.org provides a collection of shared vocabularies that webmasters can use to mark up their pages in ways recognized by major search engines. The LocalBusiness schema is specifically designed to describe physical business locations. For multi-location businesses, each location should have its own markup to accurately represent its unique details.
Key Components of LocalBusiness Markup
- name: The name of the business location.
- address: The physical address, including street, city, state, and postal code.
- telephone: Contact phone number.
- openingHours: Hours of operation.
- geo: Geographic coordinates (latitude and longitude).
Implementing Markup for Multiple Locations
For each location, create a separate LocalBusiness structured data block. Use JSON-LD format embedded within a <script> tag in the head section of your website. Here is an example for two locations:
Note: In WordPress, you can add this script via a custom plugin or your theme’s header.php file.
<script type="application/ld+json">
[
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Downtown Coffee Shop",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main St",
"addressLocality": "Metropolis",
"addressRegion": "NY",
"postalCode": "10001"
},
"telephone": "+1-555-1234",
"openingHours": "Mo-Fr 08:00-18:00",
"geo": {
"@type": "GeoCoordinates",
"latitude": 40.7128,
"longitude": -74.0060
}
},
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Uptown Bakery",
"address": {
"@type": "PostalAddress",
"streetAddress": "456 Elm St",
"addressLocality": "Metropolis",
"addressRegion": "NY",
"postalCode": "10002"
},
"telephone": "+1-555-5678",
"openingHours": "Mo-Sa 07:00-20:00",
"geo": {
"@type": "GeoCoordinates",
"latitude": 40.7138,
"longitude": -74.0050
}
}
]
</script>
Best Practices for Multi-Location Markup
To ensure your markup is effective:
- Maintain unique data for each location.
- Update information regularly to reflect current hours and contact details.
- Validate your schema markup using tools like Google’s Rich Results Test.
- Embed the JSON-LD in the head section of your website for best results.
Implementing detailed and accurate LocalBusiness schema markup for each location helps search engines display rich snippets, increasing visibility and attracting more local customers.