Structured Data·Cursor
Structured DataCursor

Add FAQPage schemaCursor

FAQ content without FAQPage schema misses the expandable rich result in Google and is harder for AI tools to cite as Q&A passages.

rocket_launch

Fixing this in Cursor

Agentic AI code editor built on VSCode

In Cursor you edit real files, so this fix lands via direct diffs instead of a regenerated project. Paste the prompt below into your Cursor chat and the fix rolls out across the project in one pass.

Using a different tool? Pick your stack:

The prompt for Cursor

Copy and paste this into your Cursor chat exactly as-is.

Apply these changes to my codebase. Edit the files directly and keep existing formatting:

Add FAQPage schema

1. Wrap your Q&A content in FAQPage schema with mainEntity containing Question/Answer pairs.

Why this matters

FAQPage schema turns your FAQs into expandable accordions in Google results — taking 3-5x more pixel real estate than a normal result. In 2023 Google reduced FAQ rich results to "official" sites, but they still appear for well-marked pages with actual Q&A content.

ChatGPT, Claude, and Perplexity all read FAQPage schema to extract Q&A passages for direct citation. A page with FAQPage schema is significantly more likely to get quoted.

How to use this prompt in Cursor

  1. 1. Open your Cursor project.
  2. 2. Copy the prompt above with the copy button.
  3. 3. Paste into the Cursor chat and send.
  4. 4. Review the diff, accept the changes, redeploy.
  5. 5. Verify the fix using the checklist below.

Common mistakes to avoid

  • error_outlineFAQPage schema on a page without visible FAQs — counts as spam.
  • error_outlineSame Q repeated across pages — only mark on the canonical page.
  • error_outlineOver 10 Q&As — Google typically shows only 3 in SERP; keep pages focused.

How to verify the fix worked

  • check_circleRich Results Test shows FAQPage type recognized.
  • check_circleSearch Console → Enhancements → FAQ — no errors.
  • check_circleSERP for your page sometimes shows expandable Q&As.

Frequently asked questions

Will Google always show rich FAQ results?expand_more
No. Google selectively displays them based on query and site authority. Having the schema is a prerequisite — display is not guaranteed.
How many Q&As per page?expand_more
Minimum 3. Sweet spot 4-6. Going above 10 rarely adds value.

Want all 34 prompts tailored to your Cursor site?

Pantra scans your site in 10 seconds, detects the stack, and generates the exact prompts that apply — only the ones you actually need.

Scan my site

Related Cursor prompts