Skip to content
BeoHosting
BeoHosting
SEO

Schema Markup for Beginners - Structured Data

BeoHosting Team··10 min read read
Schema Markup for Beginners - Structured Data

If you've ever seen star ratings, product prices, an FAQ section that expands directly in search, or business hours in Google results - that's structured data in action. Schema markup is a way to tell Google exactly what the content on your site means, and in return you get richer display in search results.

What is structured data

Structured data is a standardized format for providing information about a page and classifying the content on it. Google uses structured data to understand your site's content and display it in a special way in search results - so-called rich results or rich snippets.

Schema.org is a common vocabulary created by Google, Microsoft, Yahoo, and Yandex. It contains hundreds of data types - from products and recipes to events and organizations. You choose which types are relevant to your site and implement them.

Structured data is added in JSON-LD format (recommended by Google), Microdata format, or RDFa format. In this guide we'll use JSON-LD because it's the simplest to implement and doesn't require changing your site's HTML structure.

Why structured data matters

Structured data doesn't directly affect your site's ranking, but it significantly increases Click-Through Rate (CTR) - the percentage of people who click on your result in search. Rich snippets take up more space in results, stand out visually, and provide users with additional information before they click.

Studies show rich snippets can increase CTR by 20-30% compared to regular search results. For e-commerce sites, displaying price and availability directly in search results can significantly increase conversions.

FAQ Schema - the easiest to start with

FAQ schema is ideal to start with because it's simple, applicable to almost any site, and delivers excellent visual results in Google search. When Google recognizes FAQ schema markup, it shows questions and answers directly in search results, which can expand your result to the full first page.

Here's an example of FAQ schema markup in JSON-LD format:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How much does website hosting cost?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Website hosting at BeoHosting starts from $5.41 per month for the Start plan, which includes 10 GB of NVMe storage, free SSL, and email accounts."
      }
    },
    {
      "@type": "Question",
      "name": "Does hosting include a free domain?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, all annual hosting plans include a free .com domain for the first year."
      }
    }
  ]
}
</script>

This code goes in the <head> or <body> section of an HTML page. For WordPress sites, you can use the Yoast SEO or Rank Math plugin which automatically generates FAQ schema for Gutenberg FAQ blocks.

Product Schema - for online stores

If you have an e-commerce site, Product schema is essential. It enables display of price, availability, ratings, and reviews directly in Google results. Here's an example:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Premium Hosting Package",
  "description": "Hosting plan with 50 GB of NVMe storage and unlimited traffic",
  "offers": {
    "@type": "Offer",
    "price": "9.99",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "priceValidUntil": "2026-12-31"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.8",
    "reviewCount": "156"
  }
}
</script>

For WooCommerce stores, the Yoast WooCommerce SEO plugin automatically generates Product schema for all products. For PrestaShop and Magento, similar modules exist.

LocalBusiness Schema - for local companies

If you have a physical location or provide services in a defined area, LocalBusiness schema helps Google display you in local search results and on Google Maps. Here's an example:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "BeoHosting",
  "description": "Web hosting provider",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "100 Main Street",
    "addressLocality": "New York",
    "postalCode": "10001",
    "addressCountry": "US"
  },
  "telephone": "+1-212-123-4567",
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
      "opens": "09:00",
      "closes": "17:00"
    }
  ],
  "url": "https://www.beohosting.com",
  "priceRange": "$$"
}
</script>

Article Schema - for blogs

If you have a blog on your site, Article schema helps Google properly index and display your articles. This schema type supports display of author, publish date, and featured image in search results.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Your article title",
  "author": {
    "@type": "Person",
    "name": "Author Name"
  },
  "datePublished": "2026-01-18",
  "dateModified": "2026-01-18",
  "publisher": {
    "@type": "Organization",
    "name": "BeoHosting"
  },
  "image": "https://www.youraddress.com/images/article.jpg"
}
</script>

Breadcrumb Schema - for navigation

Breadcrumb schema shows the hierarchical page path in Google results instead of a regular URL. For example, instead of "yourdomain.com/category/product", Google shows "Home > Category > Product". This improves user experience and helps users understand the structure of your site before they click.

Implementation in WordPress

For WordPress users, the easiest way to implement schema markup is through an SEO plugin. Yoast SEO automatically adds Organization, Website, Article, and Breadcrumb schema. Rank Math offers even more detailed options with a visual editor for schema markup.

For specific content types, use the Schema Pro or WP Schema plugins. These plugins let you define rules for automatic schema addition based on post category, page type, or custom fields.

Testing structured data

Google provides two tools for testing structured data. Rich Results Test (search.google.com/test/rich-results) shows how your result will look in search and whether there are errors. Schema Markup Validator (validator.schema.org) provides more detailed validation of the schema markup.

Before publishing a page with schema markup, always test it in one of these tools. The most common errors are missing required attributes, wrong data types, and invalid URLs. The tools will show you exactly where the problem is and how to fix it.

Most common mistakes and how to avoid them

Don't add schema markup for content that doesn't exist on the page - Google considers this abuse and may penalize you. Use the right types - for example, don't mark a blog post as Product. Keep schema data current - if a product price changes, update the schema markup too. Don't use schema markup just to get rich snippets without real content that justifies them.

Conclusion

Schema markup is one of the most efficient ways to improve your site's visibility in Google search. Also see our Core Web Vitals guide without changes in content or design. Start with FAQ or LocalBusiness schema because they are the simplest to implement, then add Product and Article schema as you expand the site. Always test before publishing, track results in Google Search Console, and update the data when it changes. For help implementing structured data, the BeoHosting support team is at your disposal.

BeoHosting Team

10+ years of experience — Web hosting and infrastructure specialists

  • Web Hosting
  • WordPress Hosting
  • VPS
  • Dedicated Serveri
  • Domeni
  • SSL
  • cPanel
  • LiteSpeed
  • Linux administracija
  • DNS

Last updated: