tommyosheawebdesign

Astro JS SEO Set Up

Jun 29th, 2026
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. You're doing a pre-launch SEO audit and setup for an Astro 5 + Tailwind v4
  2. site about to go live for the first time. Go through everything below, check
  3. what already exists in the codebase, and implement anything missing. Show me
  4. a checklist at the end of what was already done, what you added, and anything
  5. that needs a manual step from me (DNS, Search Console, etc).
  6.  
  7. CONFIG & FOUNDATIONS
  8. - Confirm `site` is set correctly in astro.config.mjs (full https:// production URL)
  9. - Set a consistent `trailingSlash` policy and make sure internal links match it
  10. - Confirm @astrojs/sitemap is installed, configured, and outputting at /sitemap-index.xml
  11. - Create/verify robots.txt referencing the sitemap, allowing crawl, blocking nothing important
  12. - Set lang="en-IE" on the <html> element
  13.  
  14. PER-PAGE META (via BaseLayout props)
  15. - Unique <title> and meta description on every page, with sensible length limits
  16. - Self-referencing canonical URL on every page (absolute, respects trailingSlash)
  17. - Open Graph tags: og:title, og:description, og:type, og:url, og:image, og:site_name, og:locale
  18. - Twitter card tags (summary_large_image) with image
  19. - Confirm a default OG image exists and per-page overrides are possible
  20. - No duplicate or missing meta on any route, including dynamic routes
  21.  
  22. STRUCTURED DATA (JSON-LD)
  23. - LocalBusiness schema (this is a Kerry SME, so include name, address, phone,
  24. geo, opening hours, areaServed, sameAs social links) if business details are available
  25. - Organization or Person schema sitewide as appropriate
  26. - BreadcrumbList on inner pages
  27. - WebSite schema with potential sitelinks searchbox if relevant
  28. - Validate all JSON-LD parses without errors
  29.  
  30. CONTENT & STRUCTURE
  31. - Exactly one H1 per page; logical heading hierarchy (no skipped levels)
  32. - All <img> have meaningful alt text, explicit width/height (or aspect ratio) to avoid CLS
  33. - Astro <Image>/<Picture> used for optimisation where appropriate; lazy loading below the fold
  34. - Internal linking present between key pages; no orphan pages
  35. - Descriptive, lowercase, hyphenated URL slugs
  36.  
  37. TECHNICAL & PERFORMANCE
  38. - Custom 404 page exists
  39. - Favicon set (ICO + PNG), apple-touch-icon, and web manifest
  40. - Fonts loaded efficiently (preload/swap, no render-blocking)
  41. - No console errors; check Lighthouse-style CWV (LCP, CLS, INP) for obvious wins
  42. - viewport meta and charset present
  43. - HTTPS enforced; flag any mixed-content or hardcoded http:// links
  44.  
  45. MIGRATION & GO-LIVE (flag as manual where needed)
  46. - If replacing an existing site, list URLs that need 301 redirects (old → new)
  47. - Analytics tag present (tell me which, or where to add it)
  48. - Remind me to: verify in Google Search Console, submit the sitemap, and
  49. request indexing once DNS has propagated
  50.  
  51. Don't invent business details (NAP, hours, socials). If they're missing, list
  52. them as inputs you need from me rather than guessing.
Advertisement
Add Comment
Please, Sign In to add comment