Sample fix

From generic business code to a complete Dentist schema

An anonymised example of one fix as we deliver it. The practice name, address, phone and links below are placeholders (Example Family Dental, 123 Main St). The problems shown are ones we have found on real dental websites; no real practice is shown.

  • Before Generic LocalBusiness
  • After Complete Dentist schema

What was wrong

The site's schema (code in the page that describes the business to search engines and AI tools) looked like this:

BeforeJSON
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Example Family Dental",
  "telephone": "555-010-0199",
  "openingHours": "Mon-Fri 8am-5pm"
}
  • Generic type. LocalBusiness says "a business", not "a dental practice". Schema.org has a specific Dentist type.
  • No address. Nothing in the code says where the practice is.
  • Hours as free text. "Mon-Fri 8am-5pm" isn't the format schema.org specifies, so tools may not read it, and it didn't match the hours on the page.
  • Phone mismatch. The number differed from the one shown in the site header.

The fix

One complete Dentist block, with the same name, address, phone and hours as the visible page:

AfterJSON-LD
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Dentist",
  "@id": "https://www.example.com/#practice",
  "name": "Example Family Dental",
  "url": "https://www.example.com/",
  "telephone": "+1-555-010-0123",
  "email": "[email protected]",
  "image": "https://www.example.com/images/office.jpg",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St, Suite 100",
    "addressLocality": "Anytown",
    "addressRegion": "CO",
    "postalCode": "80000",
    "addressCountry": "US"
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday"
      ],
      "opens": "08:00",
      "closes": "17:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": "Friday",
      "opens": "08:00",
      "closes": "12:00"
    }
  ],
  "sameAs": [
    "https://www.facebook.com/examplefamilydental",
    "https://www.yelp.com/biz/example-family-dental-anytown"
  ]
}
</script>

Hours use 24-hour hh:mm times in openingHoursSpecification. sameAs lists the practice's own profiles. Every value must match what patients see on the site and on Google.

Why it matters

Search engines and AI assistants use this code as one signal of what a business is, where it is and when it's open. When it is generic, incomplete or contradicts the page, they have less reliable information to go on. Fixing it doesn't guarantee a practice will be named in AI answers; it removes one avoidable reason not to be.

How to install it

  1. Replace the placeholder values with your practice's real details, exactly as they appear on your site.
  2. Paste the whole block, including the <script> tags, into your site's header code:
    • WordPress: a header-code plugin such as WPCode, or your SEO plugin's schema settings.
    • Squarespace: Settings, Advanced, Code Injection, Header (on plans that include code injection).
    • Wix: Settings, Custom Code, add to the head of all pages.
    • Webflow: Site settings, Custom code, Head code, then publish.
  3. Remove or turn off any old business schema so the site describes the practice once, consistently.
  4. Publish, then check it as below.

How to check it worked

  1. Open Google's Rich Results Test and enter your homepage URL.
  2. It should detect a local business item showing your name, address and hours, with no errors.
  3. For a full list of every schema type on the page, also try validator.schema.org: you should see Dentist and no leftover generic block.

Want this for your practice?

Each Citewell audit comes with fixes like this one, written for your site and ready to install. Email [email protected] or see what's included.

Email [email protected]

One-time audit, ready-to-install fixes. See what's included.