Accommodation websites often focus on photos, rates, room descriptions and booking buttons. Those are important, but Google also needs clear, structured information about the business behind the website: the name, location, phone number, accommodation type, check-in details and the relationship between the website and the physical property.
This is where LocalBusiness schema becomes useful. It is not a magic ranking trick, and it will not fix a weak website on its own. But it helps search engines understand that a hotel, guest house, lodge, B&B or self-catering property is a real local business with a real location and service offering.
What is LocalBusiness schema?
Schema markup is structured data added to a website, usually in JSON-LD format, to describe the page in a way machines can understand. Google’s Search Central documentation explains LocalBusiness structured data as a way to provide details about a local business, including properties such as name, address, telephone, URL, image, geo coordinates and opening hours where relevant.
For accommodation providers, the more specific schema.org types matter. LodgingBusiness is a subtype of LocalBusiness, and schema.org describes it as a lodging business such as a motel, hotel or inn. More specific types include Hotel, BedAndBreakfast, Hostel, Motel, Resort, Campground and VacationRental.
Why accommodation providers should care
Hospitality search is deeply local. A traveller may search for “guest house near Hermanus”, “self-catering in Clarens”, “hotel near OR Tambo”, or “lodge in the Midlands”. Google then has to connect websites, Google Business Profiles, map results, reviews, addresses and booking intent.
Clean LocalBusiness or LodgingBusiness schema helps remove ambiguity. It tells Google: this page represents a real accommodation business, at this address, with this phone number, these coordinates, this website and these property details.
Key takeaways
- Use the most specific schema type that honestly matches the property.
- For many accommodation websites, Hotel, LodgingBusiness, BedAndBreakfast or VacationRental will be more useful than generic LocalBusiness alone.
- The schema must match the visible page content and real business details.
- Structured data supports understanding; it does not guarantee rankings or rich results.
- Every location should have its own clear business details if the brand has multiple properties.
What information should be included?
A practical accommodation schema block should include the details a traveller and search engine both need to identify the property correctly.
- Name: the official property or business name.
- URL: the canonical website or property page URL.
- Address: street address, town/city, province/region, postal code and country.
- Telephone: the public booking or enquiry number.
- Image: a representative image of the property.
- Geo coordinates: latitude and longitude for the location.
- Accommodation-specific fields: check-in time, checkout time, number of rooms, amenities, pets policy or star rating where accurate.
- sameAs: official social media or profile URLs that represent the same business.
Example LocalBusiness / LodgingBusiness schema for an accommodation website
Below is a simplified JSON-LD example for a guest house. The details are fictional, but the structure shows the kind of information an accommodation provider should prepare before adding schema to a website.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": [
"Hotel",
"LodgingBusiness"
],
"@id": "https://www.example-guesthouse.co.za/#localbusiness",
"name": "Example Seaside Guest House",
"url": "https://www.example-guesthouse.co.za/",
"image": [
"https://www.example-guesthouse.co.za/images/front-view.jpg"
],
"telephone": "+27-21-555-0123",
"priceRange": "R950 - R1800 per night",
"address": {
"@type": "PostalAddress",
"streetAddress": "12 Ocean View Road",
"addressLocality": "Hermanus",
"addressRegion": "Western Cape",
"postalCode": "7200",
"addressCountry": "ZA"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": -34.4187,
"longitude": 19.2345
},
"checkinTime": "14:00",
"checkoutTime": "10:00",
"amenityFeature": [
{
"@type": "LocationFeatureSpecification",
"name": "Free Wi-Fi",
"value": true
},
{
"@type": "LocationFeatureSpecification",
"name": "Secure parking",
"value": true
},
{
"@type": "LocationFeatureSpecification",
"name": "Breakfast available",
"value": true
}
],
"sameAs": [
"https://www.facebook.com/exampleguesthouse",
"https://www.instagram.com/exampleguesthouse"
]
}
</script>
How to adapt this for different accommodation types
- Hotel: use
Hotelwhen the business operates as a hotel with hotel-style services. - Guest house or lodge: use
LodgingBusinessif no more precise type fits, orBedAndBreakfastif the property genuinely operates as a B&B. - Self-catering property: consider
VacationRentalwhere the page represents a rental-style accommodation unit or property. - Multiple properties: create separate location/property pages and schema blocks for each real location instead of forcing everything into one generic business block.
Common mistakes to avoid
- Using schema that does not match the page. If the visible page does not show the address, phone number or property details, do not hide them only inside schema.
- Marking every page as the same local business. It is usually better to put the main business schema on the homepage, contact page or property/location page.
- Using fake ratings or reviews. Only mark up reviews and ratings that are genuinely shown on the page and follow Google’s review snippet rules.
- Ignoring Google Business Profile consistency. The website name, address and phone number should align with the Google Business Profile wherever possible.
- Forgetting validation. Test the JSON-LD before going live and check Search Console after Google recrawls the page.
Where should it go on the website?
For a single accommodation property, the best places are usually the homepage, contact page or a dedicated property page. For a directory or booking platform, each property page should describe the specific accommodation provider shown on that page. The schema should represent the real entity on that page, not the platform owner unless the page is about the platform business itself.
Technically, JSON-LD is normally placed in the page HTML using a <script type="application/ld+json"> block. In WordPress this may be handled by an SEO plugin, custom theme code, a dedicated schema plugin or a carefully managed custom field.
A simple implementation checklist
- Choose the correct schema type: Hotel, LodgingBusiness, BedAndBreakfast, VacationRental or another accurate subtype.
- Confirm the official name, address, phone number and website URL.
- Add latitude and longitude from the actual property location.
- Add check-in/check-out times and amenities only if they are accurate and visible or clearly supported on the page.
- Add the JSON-LD to the correct page template or CMS field.
- Validate using Google’s Rich Results Test and Schema.org’s validator.
- Monitor Search Console for structured data warnings or errors.
Frequently asked questions
Should an accommodation website use LocalBusiness or Hotel schema?
Use the most specific schema type that accurately describes the business. Hotels can use Hotel, guest houses may use LodgingBusiness or BedAndBreakfast, and self-catering properties may fit VacationRental where appropriate.
Does schema markup guarantee better Google rankings?
No. Structured data helps Google understand the page, but it does not guarantee rankings or rich results. It works best alongside strong content, accurate Google Business Profile information, good technical SEO and a useful booking experience.
Can a booking platform add schema for every listed property?
Yes, but each property page should represent the specific accommodation provider on that page. The schema should not confuse the platform business with the listed property, and the marked-up information should be visible and accurate.
Sources
- Google Search Central: Local Business structured data
- Schema.org: LodgingBusiness
- Schema.org: Hotel
- Schema.org: BedAndBreakfast
For accommodation providers, schema should be treated as part of the wider direct booking foundation. It will not replace good service, strong photography, useful room information or fast enquiry handling. But it does help Google connect the dots between your website, your location and the real hospitality business behind the page.
