If you're still wondering why competitors are getting their answers pulled into Google's AI Overviews and you're not — FAQ schema is likely part of the answer. And if your site runs PHP on cPanel hosting (which covers the majority of Indian SMB websites), you can implement this yourself without touching a CMS plugin or calling your developer at 11 PM.

This guide walks you through it exactly. No fluff, no "just install a plugin" shortcuts that don't apply to your setup.

Why FAQ Schema Matters for AEO Right Now

Answer Engine Optimization isn't a future trend — it's happening now. Google's AI Overviews, ChatGPT search, Perplexity, and Bing Copilot are all pulling structured answers from web pages. FAQ schema is one of the clearest signals you can send: "This page directly answers questions. Use it."

For Indian businesses especially, this matters because a large portion of search queries come from mobile users asking conversational questions in Hinglish or plain English. "What is the GST on digital services?" or "How long does courier delivery take to Tier 2 cities?" — these are FAQ-shaped questions, and your site should be answering them with schema markup.

The AEO services we run at Hriyan Digital consistently show that pages with valid FAQ schema get featured in AI-generated responses at a noticeably higher rate than equivalent pages without it.

What You Actually Need Before Starting

Before you write a single line of JSON-LD, confirm you have these:

  • cPanel access — specifically File Manager or the ability to SSH/FTP into your site
  • PHP files you can edit — header.php, footer.php, or the specific page template file
  • At least 3–5 genuine FAQ questions for the target page — don't fabricate these
  • Google Search Console access — you'll need this to validate and monitor

You do not need a WordPress plugin, a JavaScript framework, or a developer. This is pure HTML + JSON-LD.

Step 1 — Write Your FAQ Content First

Schema is markup for content that already exists on the page. Don't write the schema first and add fake Q&A later — Google's quality systems will catch that mismatch.

For each FAQ item, write:

  • A question that real users actually search (use Google's "People Also Ask" box for ideas)
  • A concise answer — ideally under 300 words per answer, often shorter
  • No promotional language in the answer — treat it like you're answering on Quora

Example for an Indian CA firm's page:

Q: What documents are needed for GST registration in India?
A: You need PAN, Aadhaar, proof of business registration, address proof of business premises, bank account details, and a passport-size photo of the proprietor or director.

This answer is specific, factual, and directly usable. That's what AI systems want to cite.

Step 2 — Build the JSON-LD Schema Markup

FAQ schema uses JSON-LD format inside a <script> tag. Here's the exact structure:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What documents are needed for GST registration in India?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "You need PAN, Aadhaar, proof of business registration, address proof, bank account details, and a passport-size photo."
      }
    },
    {
      "@type": "Question",
      "name": "How long does GST registration take?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Typically 7 to 10 working days if all documents are in order. ARN is generated immediately upon submission."
      }
    }
  ]
}
</script>

Repeat the Question block for each FAQ item. Keep the JSON valid — a single misplaced comma breaks the whole schema. Use JSONLint to validate before uploading.

Step 3 — Add the Schema to Your PHP File via cPanel

This is where most tutorials get vague. Here's the specific path for cPanel PHP sites:

Option A — Add to a Specific Page Only (Recommended)

  1. Log in to cPanel → File Manager
  2. Navigate to your website's root folder (usually public_html)
  3. Find the specific PHP file for that page — e.g., gst-services.php
  4. Right-click → Edit
  5. Paste the <script type="application/ld+json">...</script> block just before the closing </head> tag
  6. Save and confirm changes

Option B — Add to All Pages via header.php (Use with Caution)

If your PHP site uses a shared header file (common in custom PHP frameworks), you can add the schema there — but only if every page on your site has the same FAQ content, which is rare. For most sites, Option A per page is cleaner and more accurate.

Option C — Use PHP to Conditionally Inject Schema

If you're comfortable with basic PHP, you can conditionally output the schema based on the page:

<?php if ($_SERVER['REQUEST_URI'] == '/gst-services') { ?>
<script type="application/ld+json">
{ ... your FAQ schema ... }
</script>
<?php } ?>

This sits inside your header.php or wherever the <head> section is built.

Step 4 — Validate the Schema

After uploading, validate immediately. Use Google's Rich Results Test at search.google.com/test/rich-results.

  • Paste your page URL and run the test
  • You should see "FAQPage" listed as a detected item
  • Fix any errors flagged — common ones include missing acceptedAnswer or invalid JSON syntax

If validation passes, request reindexing in Google Search Console under URL Inspection → Request Indexing. Don't wait for the next crawl cycle.

Step 5 — Monitor Performance in Search Console

After 2–3 weeks, check Search Console → Search Results → filter by your FAQ page. Look for:

  • Impressions from question-format queries
  • Rich result appearances (shown in the "Search Appearance" filter)
  • CTR changes — FAQ rich results often increase CTR by 20–30% because they take up more SERP space

If you're doing this as part of a broader SEO strategy, track these pages separately so you can attribute impact cleanly.

Common Mistakes to Avoid

  • Schema-only, no visible FAQ on page: Google requires the Q&A to be visible to users on the page, not hidden in schema alone
  • Generic questions: "What is your company?" is not a useful FAQ. Target actual search queries
  • Stale answers: If a regulation changes (GST rates, RBI guidelines, etc.), update both the visible content and the schema text
  • Duplicate FAQPage schema on multiple pages: Each FAQPage schema should be unique to that page's content

Quick Implementation Checklist

  • ✅ FAQ content written and visible on the page
  • ✅ JSON-LD structured correctly with @type FAQPage
  • ✅ JSON validated with JSONLint
  • ✅ Script added before </head> in correct PHP file
  • ✅ Rich Results Test passed
  • ✅ Reindexing requested in Search Console
  • ✅ Performance monitoring set up

FAQ schema is one of the highest-ROI structured data implementations you can do, especially if your site serves a niche where users have predictable questions — finance, legal, healthcare, logistics, ecommerce. If you want an expert to audit your current schema setup and identify where you're leaving AI visibility on the table, run a free AI visibility scan and we'll show you exactly what's missing.