Skip to content

feat: SEO improvements — OG image, JSON-LD, canonical fix#2

Merged
neonwatty merged 1 commit intomainfrom
feat/seo-meta-improvements
Apr 5, 2026
Merged

feat: SEO improvements — OG image, JSON-LD, canonical fix#2
neonwatty merged 1 commit intomainfrom
feat/seo-meta-improvements

Conversation

@neonwatty
Copy link
Copy Markdown
Contributor

Summary

  • Fix canonical URL: Removed hardcoded alternates.canonical from root layout that was setting every page's canonical to https://bugdrop.dev instead of each page's actual URL — this confused search engines about which pages to index
  • Add OG image: Dynamic 1200x630 Open Graph image using Next.js ImageResponse with Tokyo Night branding (bug emoji, tagline, feature pills) — social shares on Twitter/LinkedIn/Slack now show a branded preview
  • Add JSON-LD structured data: SoftwareApplication schema on homepage with name, description, author, features, license, and code repository for Google rich results

Also configured Cloudflare AI Crawl Control (separate from code):

  • Disabled global "Block AI Bots" scope that was overriding individual settings
  • Allowed key GEO crawlers (GPTBot, ClaudeBot, Google-CloudVertexBot, FacebookBot, etc.)
  • Kept aggressive scrapers blocked (Bytespider, CCBot, Amazonbot)

Test plan

  • Verify Vercel preview deploys successfully
  • Check OG image renders at /_next/image/opengraph-image or via social card validators (Twitter Card Validator, LinkedIn Post Inspector)
  • Validate JSON-LD with Google Rich Results Test
  • Confirm canonical URL is absent from root HTML (subpages should not have homepage canonical)

- Remove hardcoded canonical URL from root layout that was setting all
  pages to https://bugdrop.dev instead of their actual URLs
- Add dynamic OG image (1200x630) with Tokyo Night branding for social
  sharing previews on Twitter, LinkedIn, Slack, etc.
- Add SoftwareApplication JSON-LD structured data to homepage for
  Google rich results
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bugdrop-web Ready Ready Preview, Comment Apr 5, 2026 6:11pm

Request Review

@neonwatty neonwatty merged commit 28c5db0 into main Apr 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant