A practical SEO checklist for Next.js apps

By Next Template · SEO · 4 min read ·

The checklist we run before launching a Next.js site: metadata, social images, favicons, sitemaps, robots rules, structured data and the details third-party checkers flag.

Cover image for "A practical SEO checklist for Next.js apps"

Search engines and social networks are strict readers. They do not care how elegant your components are; they read the HTML your server returns, follow your redirects and fetch your images. This is the checklist we run before every launch. None of it is glamorous, and all of it is easy to forget.

Metadata on every page

Each indexable page needs a unique title between fifty and sixty characters and a description between about one hundred forty and one hundred sixty characters. Shorter is not wrong, but most checkers flag it, and a title that matches the main heading performs better in practice.

Canonical URLs

Every page should declare its canonical URL, and that URL should match the Open Graph URL. Pagination pages after the first are their own canonical, while filtered or sorted views point back to the base listing.

Metadata in the head

Recent Next.js versions can stream metadata into the body for faster first paint. Real browsers handle that, but many crawlers and checkers only read the head. Make sure known bots and your own scanner receive metadata in the head.

Social images and favicons

  • Social images should be at least 1200 by 628 pixels, with a ratio of 1.91 to 1, and declared with width, height, type and alt tags.
  • The favicon at the root should be a real ICO file that answers with a 200 status, not a redirect to a PNG.
  • Provide an Apple touch icon of 180 pixels and a web manifest with 192 and 512 pixel icons.

Sitemap and robots rules

The sitemap should list every indexable page and nothing else. Each URL should return 200, be its own canonical and not be blocked by robots rules. Keep the sitemap within fifty thousand URLs per file, use absolute URLs on a single host and include a last modified date when you know it.

The robots file should answer with plain text, include a group for all user agents, point to the sitemap with an absolute URL, and never block the assets that pages need to render, such as scripts, styles, images or the social image route.

Redirects and status codes

Pick one host and redirect the other, including the www version and plain HTTP. Redirect common index paths such as index.html and index.php to the home page, and make sure random URLs return a real 404 instead of a friendly page with a 200 status.

Content and structure

Each page should have exactly one main heading, at least a couple of section headings and some subheadings, without skipping levels. Thin pages rarely rank, so give important pages enough words to answer the visitor's question properly, and link generously to related pages on your own site.

Structured data

Add WebSite and Person or Organization data site-wide, breadcrumbs on inner pages, Article data on posts with a headline, image, date and author, and the matching page type for collections and contact pages. Validate the output rather than trusting the code that generates it.

Performance

Fast pages are easier to crawl and nicer to use. Prefer static or incrementally regenerated pages for public content, keep session checks out of shared layouts, size images properly and remove third-party scripts that do not earn their weight.

Closing thoughts

Run a scanner that checks these rules the same way external tools do, and keep a regression test for every issue you fix. SEO problems are rarely hard to solve, but they come back quietly when nobody is watching.

Putting it into practice

If you want to try these ideas, start small. Pick one screen, one job or one page in a project you already know well, apply a single change from this post and measure the result for a couple of weeks. Small, measured changes are easier to explain to a team and much easier to undo if they do not work.

We write these notes from real client work, so every recommendation here has been tested on a production system. If you have a question about seo, a different experience to share, or a project where these ideas could help, the contact page is the quickest way to reach us, and we read every message.

  • SEO
  • Next.js
  • Metadata
  • Performance

Back to all articles · See related projects

Have a project in mind?

Tell us about the problem you want to solve. We reply within two working days with honest feedback and a sensible first step.

Start a conversation