Skip to content
seo

Audit and optimize a page's on-page SEO

Runs a structured on-page SEO audit of a real page and produces specific, implementable fixes rather than generic SEO advice.

Who should use this

Is this prompt for you?

  • Developers who own a page's code but aren't SEO specialists
  • Teams shipping new content pages who want a consistent pre-publish SEO check
  • Anyone auditing an existing page that isn't ranking or getting rich results
The prompt

Copy this prompt

Prompt
Audit the on-page SEO of the following page and give me specific, implementable fixes — not generic advice.

Page content/code: [paste the page's rendered content, or its component/HTML source]
Target primary keyword/topic: [describe what this page should rank for]
Page type: [blog post / landing page / product page / documentation]
Site/framework: [e.g. Next.js App Router with the Metadata API]

Check and report on each of these, with a pass/fail and a specific fix if it fails:
1. Title tag: length, whether it includes the target topic naturally, whether it's unique on the site
2. Meta description: length, whether it's compelling and accurately describes the page (not just keyword-stuffed)
3. Heading structure: exactly one H1, logical H2/H3 nesting, whether headings reflect actual content sections
4. URL structure: is it short, descriptive and free of unnecessary parameters
5. Internal linking: does the page link to related pages with descriptive anchor text (not "click here")
6. Image alt text: present and descriptive, not missing or keyword-stuffed
7. Structured data: what JSON-LD schema type(s) would genuinely apply to this page (e.g. Article, FAQPage, BreadcrumbList, Product) and whether it's present and valid
8. Content structure: does the page actually answer the target topic thoroughly, or is it thin/generic
9. Canonical tag and any obvious duplicate-content risk

For each issue found, give me the exact corrected code/text — not just "improve your title tag." At the end, give me a prioritized list: which 3 fixes will matter most.

Do not suggest keyword stuffing, hidden text, or any other manipulative tactic — flag if my current content relies on any of these.

Works well with Claude Code, Cursor and Gemini.

How to use it

Getting the best result

  1. 1Paste real rendered content or actual source code, not a summary of the page
  2. 2Name one specific target keyword/topic — auditing without a target produces vague feedback
  3. 3Implement the corrected code the AI provides directly rather than paraphrasing its suggestions
  4. 4Re-run this prompt after major content edits, not just once before the original launch
Expected result

What you should get back

  • A pass/fail audit across title, description, headings, URL, internal links, alt text, structured data and content depth
  • Exact corrected code or text for each failing item, not generic advice
  • A relevant, valid JSON-LD schema recommendation for the page type
  • A prioritized top-3 list of fixes with the most impact
Tips

Get more out of this prompt

  • Always specify the actual target keyword — the same page audited for two different topics gets very different feedback
  • Ask it to validate any JSON-LD it suggests against the actual schema.org type requirements, not just produce plausible-looking JSON
  • Treat "content is thin" feedback seriously — most on-page SEO problems are content depth, not metadata
Common mistakes

What to watch out for

  • Auditing without specifying a target keyword, producing generic feedback that doesn't map to actual ranking intent
  • Accepting suggested structured data without validating it actually matches the page's real content (e.g. FAQPage schema on a page without real Q&A)
  • Treating this as a one-time task instead of re-auditing after content changes

Ready to put this prompt to work?

Pair it with an AI coding tool and a real project, then ship something this week.