How to Add Schema Markup in WordPress

Schema markup is structured data you add to your site to help search engines understand your content and display rich results — like star ratings, FAQ dropdowns, or event details — directly in search results. dotCanada recommends adding schema as part of a complete SEO strategy.

Option 1: Use Yoast SEO or Rank Math (Easiest)

Both Yoast SEO and Rank Math automatically add schema markup to your site based on your content type. No additional configuration is needed for basic schema.

  • Yoast SEO: Adds Article, WebPage, Organization, and BreadcrumbList schema automatically.
  • Rank Math: Offers more granular control. Under Rank Math > Titles & Meta, you can set the schema type for each post type. It supports Article, Product, Recipe, Event, FAQ, and more.

Option 2: Schema Pro Plugin

Schema Pro is a premium plugin offering granular schema control for any content type. Install it from Plugins > Add New and use the wizard to map schema types to pages and posts.

Option 3: Manual JSON-LD

For advanced users, schema can be added manually as a JSON-LD block in your page’s HTML header. This gives full control but requires technical knowledge.

Testing Your Schema

After adding schema, use Google’s Rich Results Test tool at search.google.com/test/rich-results to verify the markup is detected and valid.

For help implementing schema on your dotCanada-hosted site, contact our support team.

100% Satisfaction Guarantee

We're so confident you'll love dotCanada that we offer a 30-day money-back guarantee. Not satisfied? Get a full refund, no questions asked.

Ready to Get Started?

Join thousands of Canadian website owners who trust dotCanada for reliable, fast web hosting.

Get Started Today