Structured Data·Cursor
Structured DataCursor

Add BreadcrumbList schemaCursor

Raw URL paths in search results look ugly and get fewer clicks. BreadcrumbList schema replaces them with a clean hierarchy.

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 BreadcrumbList schema

1. Add BreadcrumbList JSON-LD with itemListElement for each level of the page hierarchy.

Why this matters

Breadcrumbs in the SERP replace ugly URL paths like `/blog/2024/07/my-post-slug` with "Home > Blog > My Post". Cleaner, more clickable, more trustworthy.

Breadcrumbs also help Google understand your site structure — which pages are hubs, which are leaves — for better internal ranking distribution.

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_outlineMissing the position field in list items.
  • error_outlineBreadcrumb items that do not reflect the actual page hierarchy.
  • error_outlinePutting BreadcrumbList on the homepage — breadcrumbs start AFTER home.

How to verify the fix worked

  • check_circleRich Results Test recognizes BreadcrumbList.
  • check_circleSERP for a sub-page eventually shows the breadcrumb path.

Frequently asked questions

Match on-page breadcrumbs?expand_more
Yes. The schema should reflect what the user sees visually on the page.
How many levels?expand_more
Up to ~5. More is allowed but diminishing returns.

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