Schema markup is structured data code — usually written in JSON-LD — that you add to a web page to tell search engines exactly what the page is about: a business, a product, an article, a FAQ, a review or an event. It doesn’t directly boost rankings on its own, but it helps Google understand your content and can make your page eligible for rich results such as star ratings, prices, breadcrumbs and business details.
I’m Hamza Zahid, an SEO specialist in Karachi, and schema is one of the first things I check when I audit a client’s website in Pakistan or the UK. It’s also one of the most misunderstood parts of SEO. Some people think it’s a magic ranking trick; others think it’s too technical to touch. The truth sits in the middle. In this guide I’ll explain what schema markup is, which types matter for most businesses, how to add it step by step (including on WordPress), and the mistakes that get it ignored by Google.
Schema markup is a shared vocabulary from Schema.org, a project supported by the major search engines. It gives you standard labels — like “LocalBusiness”, “openingHours”, “price” or “author” — to describe things on your page in a way machines can read without guessing.
Think of it like this: a human reading your contact page instantly understands that “Clifton, Karachi” is an address and “0300…” is a phone number. A search engine has to infer that. Schema removes the guesswork by labelling each piece of information explicitly.
Schema isn’t a direct ranking factor, but it supports SEO in several practical ways:
There are hundreds of schema types, but most business websites only need a handful. These are the ones I implement most often.
| Schema type | Use it on | What it can help with |
|---|---|---|
| Organization | Homepage / About page | Brand name, logo, social profiles |
| LocalBusiness | Homepage or location pages | Address, phone, opening hours, area served |
| Article / BlogPosting | Blog posts | Headline, author, publish and update dates |
| Product | Product pages | Price, availability, reviews |
| BreadcrumbList | Most inner pages | Breadcrumb trail in search results |
| FAQPage | Pages with genuine FAQs | Clear question-and-answer structure |
| Service | Service pages | Describing the service and area served |
| VideoObject | Pages with embedded videos | Video thumbnails and key details |
A quick note on FAQ schema: Google now shows FAQ rich results only for a limited set of authoritative sites, so for most businesses it won’t produce the expanded listing it once did. I still use it where the FAQs are genuine, because it structures the content clearly, but I don’t promise clients a visual change in search from it.
Schema can be written in three formats. JSON-LD is a block of script placed in the page’s HTML, separate from the visible content. Microdata and RDFa add attributes directly to your HTML tags. Google recommends JSON-LD where possible (see its introduction to structured data), and it’s what I use for almost every project because it’s easier to add, edit and debug without touching the page design.
Before writing any code, list your key page types: homepage, service pages, blog posts, product pages, contact page. For each, decide the main entity. A service page is about a Service offered by your LocalBusiness; a blog post is an Article written by a Person. This mapping prevents conflicting or duplicated markup later.
Many WordPress themes and SEO plugins add schema automatically. Run your important URLs through Google’s Rich Results Test and the Schema Markup Validator to see what’s already there. You’d be surprised how often I find two plugins outputting two different Organization blocks with different names. This is part of every SEO audit I run.
You can write JSON-LD by hand, use a schema generator, or let an SEO plugin build it from settings. Whichever route you choose, fill in real, accurate details: your exact business name, the same phone number and address shown on the page and your Google Business Profile, your real opening hours, and your actual logo URL.
On WordPress, the easiest route is an SEO plugin. In Rank Math, for example, you set your Organization or LocalBusiness details in the global settings, then choose the schema type for each post or page in the Schema tab. On custom sites, place the JSON-LD script in the page’s head or body template. For larger sites, add schema at template level so every product or post gets it automatically.
Test every template with the Rich Results Test. Fix errors (missing required properties) first, then review warnings. Make sure what’s in the markup matches what’s visible on the page — Google treats hidden or mismatched information as a guideline violation.
After Google recrawls your pages, open the Enhancements section of Google Search Console. It shows which structured data types Google has detected, along with valid items and errors. Check it monthly and after any theme or plugin update.
If you serve customers in a specific city, LocalBusiness schema is the most valuable markup you can add. Include your name, address, phone, opening hours, geo-coordinates, price range if relevant, and the areas you serve. Keep it consistent with your Google Business Profile and your citations — consistency is one of the strongest local signals. I cover the wider picture in my guide to local SEO in Pakistan.
For online stores, Product schema with offers (price, currency, availability) and aggregate ratings is essential. Make sure prices update in the markup when they change on the page, and use BreadcrumbList across categories. My guide on e-commerce SEO for product and category pages explains how this fits into the rest of a store’s optimisation.
Not directly. Google has said structured data isn’t a ranking factor by itself. It helps Google understand your content and can make pages eligible for rich results, which can improve how your listing looks and how many people click it.
JSON-LD. It’s Google’s recommended format, it sits separately from your visible HTML, and it’s the easiest to add, maintain and validate.
The simplest way is through an SEO plugin such as Rank Math or Yoast. Set your site-wide Organization or LocalBusiness details, then choose the schema type for each post or page. For custom needs, you can add a JSON-LD block manually or through a code snippets plugin.
Use Google’s Rich Results Test to check eligibility for rich results and the Schema Markup Validator for general schema errors. Then monitor the Enhancements reports in Google Search Console.
Google needs to recrawl the page first, which can take from a few days to a few weeks. Even then, rich results are not guaranteed — they depend on Google’s own quality and relevance decisions.
Schema markup is a small piece of code with a big job: helping search engines and AI systems understand exactly who you are and what you offer. Done properly, it supports your rankings, your local visibility and the way your listings look in search. If you’d like me to audit and implement structured data on your site, see my technical SEO services or get in touch for a free consultation.
WhatsApp us