Fenthras Studio
Loading
All articles
August 19, 20269 min readBy Louis Bamidele

A Developer's Guide to Fast, SEO-Friendly Next.js Sites

  • Next.js
  • Engineering
  • SEO
  • Performance

A modern framework is not a magic wand. You can absolutely ship a slow, hard to index site with Next.js if you reach for client rendering by default and treat SEO as a final pass. Fast and findable is the result of a hundred small decisions made deliberately. Here is the checklist I follow so those decisions are not left to chance.

Search engines and users both want your content in the HTML, not assembled later by JavaScript. Lean on static generation and server components for anything that matters for ranking or first impression. Keep client components for genuine interactivity, and never hide your primary content behind a loading spinner that only runs in the browser.

Use the Metadata API properly. Give every page a real title and description, set a canonical URL, and configure metadataBase so links resolve. Add Open Graph and Twitter tags so shared links look intentional. A title template keeps the branding consistent without repeating yourself on every page.

JSON-LD tells search engines exactly what a page is. Mark up your organisation, articles, breadcrumbs, and FAQs. It costs a small script tag and can earn you rich results, the star ratings and expandable answers that make a listing stand out and win the click.

  • Use next/image so images are sized, lazy-loaded, and served in modern formats automatically.
  • Use next/font to self-host fonts, which removes a third-party request and prevents layout shift.
  • Always reserve space for media with width and height so the page does not jump as it loads.
  • Keep the largest element in the first screen server-rendered and prioritised so LCP is fast.
  • Ship less client JavaScript, since a heavy bundle is the enemy of responsiveness.
  • Prevent layout shift by reserving space for images, embeds, and ads.
  • Watch interaction latency (INP): avoid blocking the main thread with expensive work on click.
  • Generate a sitemap and robots file, and keep canonical URLs clean.
  • Use semantic HTML and a sensible heading order, which helps both crawlers and screen readers.
  • Make the UI keyboard accessible with visible focus, because good UX and good SEO increasingly point the same way.
  • Host on fast infrastructure with a CDN, so speed holds up everywhere your visitors are.

None of this is exotic. It is discipline. Fold performance, accessibility, and SEO into your definition of 'done' rather than a cleanup sprint you never get to, and the results compound quietly on every page you ship.

The framework will not rank your site. The hundred small decisions you make with it will.

Working on something I could help with?

Get in touch