Developer fixes Next.js portfolio invisible to Google and AI crawlers with 5 tweaks

Full Stack Developer Dhruv Sheladiya discovered his Next.js portfolio was nearly invisible to search engines and AI crawlers like ChatGPT because the homepage relied entirely on client-side JavaScript rendering. Since bots such as Googlebot and AI crawlers often skip or delay JavaScript execution, they were seeing an empty page instead of his actual content. He resolved this by embedding crawlable profile text in a server-side layout component using Tailwind's screen-reader-only class, adding structured JSON-LD schema with sameAs links to his social profiles, and ensuring all those profiles linked back to his site. He also corrected a mismatched Open Graph image — resizing it from 1629×966 px and 1.77 MB down to the standard 1200×630 px at 80 KB using Next.js's built-in Sharp library. The fixes improved his site's visibility in search results and made his identity recognisable to AI-powered search tools.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in