Add unique meta descriptions to every page — Replit
Meta descriptions do not directly affect ranking, but they drive 10-30% of your click-through rate. A blank or duplicated description lets Google auto-generate one, usually worse than what you would write.
Fixing this in Replit
Cloud IDE with Replit Agent
Replit Agent works best when you hand it a precise instruction and a scoped folder. Paste the prompt below into your Replit chat and the fix rolls out across the project in one pass.
Using a different tool? Pick your stack:
The prompt for Replit
Copy and paste this into your Replit chat exactly as-is.
In Replit, ask the Replit Agent to make these exact changes across the project: Add meta descriptions 1. Add a <meta name="description"> in <head> on every page. 2. Keep it between 50 and 160 characters. 3. Write a unique description per page — never reuse the same string.
Why this matters
When a page appears in Google, the grey snippet below the title is either your meta description or a fragment Google pulls from the page body. The auto-generated version is usually a truncated sentence from the middle of your page — technically accurate, rarely compelling.
A well-written description is a free conversion-rate optimisation. The ranking does not move, but the percentage of searchers who click your result goes up. Over thousands of impressions per month, that compounds into real traffic.
LLM-based search engines (ChatGPT web search, Perplexity, Google AI Overviews) also read the meta description as a quick summary signal. Pages with tight, clear descriptions get cited more often in AI-generated answers.
How to use this prompt in Replit
- 1. Open your Replit project.
- 2. Copy the prompt above with the copy button.
- 3. Paste into the Replit chat and send.
- 4. Review the diff, accept the changes, redeploy.
- 5. Verify the fix using the checklist below.
Common mistakes to avoid
- error_outlineWriting descriptions over 160 characters — the tail gets "…" truncated in search results.
- error_outlineUsing the same description on every page (e.g., the company tagline).
- error_outlineStuffing keywords instead of selling the click.
- error_outlineLeaving the description empty and letting Google auto-generate.
- error_outlineForgetting that the description is the preview text when someone shares your link on Slack or LinkedIn.
How to verify the fix worked
- check_circle`curl -s https://yoursite.com/page | grep "description"` returns your tag with the correct text.
- check_circleSearch the site on Google with `site:yoursite.com` — the snippets should match what you wrote.
- check_circlePaste a URL into LinkedIn or Slack and verify the preview uses your description.
- check_circleScreaming Frog crawl: no duplicate descriptions, no missing ones, none over 160 chars.
Frequently asked questions
Do meta descriptions affect Google ranking?expand_more
What character length is ideal?expand_more
Can I include my phone number or a discount code?expand_more
Does Google rewrite my description?expand_more
Want all 34 prompts tailored to your Replit 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 siteRelated Replit prompts
Add a unique <title> tag to every page — Replit
Copy-paste prompt to add a unique, keyword-rich <title> tag to every page in Lovable, Cursor, Bolt, v0, Replit, Windsurf, Claude Code, or Base44.
SEOAdd Open Graph + Twitter Card tags — Replit
Prompt to add og:title, og:description, og:image, and Twitter Card meta so links look right when shared on Slack, LinkedIn, WhatsApp, Twitter.
Structured DataAdd FAQPage schema — Replit
Prompt to add FAQPage JSON-LD and enable expandable FAQ rich results in Google, plus AI citation signals.
SEOFix the H1 tag — exactly one per page — Replit
Prompt to enforce exactly one H1 per page with the primary keyword, for Lovable, Cursor, Bolt, v0, Replit, Windsurf, Claude Code, Base44.