Custom / Next.js

SEO for Custom and Next.js Websites

SEO for custom and Next.js websites, from the requirements before the build to the checks after launch. We make sure Google receives full HTML, correct metadata and working redirects.

The platform

SEO for custom and Next.js websites: nothing is set up for you

A custom site has no SEO plugin. Every tag, file and redirect exists only if a developer builds it.

SEO for custom and Next.js websites is the work of making sure a site built in code, not on a ready platform, can be crawled, rendered, indexed and ranked. Next.js and other modern frameworks can produce very fast, clean pages. They can also produce pages that look perfect in the browser while Google receives an empty shell, missing titles, no sitemap and redirects that break every old URL.

We work with development teams as the SEO side of the project. We write the requirements before the build, review staging before launch and check production after it. This page is part of our SEO by platform guide and of our technical SEO service.

Rendering: what Google receives

Google can render JavaScript, but rendering happens later than crawling and not every page gets rendered quickly. Content that appears only after client-side fetching is a risk. In Next.js, pages should be built with server-side rendering (SSR), static generation (SSG) or incremental static regeneration (ISR) so the main content, links and metadata are in the first HTML response. We check this by fetching the raw HTML and comparing it with the rendered page in the URL Inspection tool.

Metadata, sitemaps and robots

  • Titles, descriptions, canonical tags and hreflang through the Metadata API or generateMetadata, set per page and not copied from a layout
  • A sitemap generated from real routes and data, updated when content changes
  • robots.txt that does not block JavaScript, CSS or image files Google needs
  • A real 404 status for missing pages, not a 200 page that says not found
  • Internal links as real anchor tags with href, so Google can follow them

Redirects in migrations

Most custom builds replace an older site. Every old URL needs a permanent redirect to its closest new URL, configured in the framework or at the server. Next.js permanent redirects return a 308 status, which Google treats like a 301. The risk is not the code, it is a missing URL map. See our guide to SEO during website migration.

Common issues

Custom and Next.js SEO issues and fixes

IssueHow we detect itFix
Content rendered only on the clientRaw HTML has no main text or linksMove data fetching to the server, use SSR, SSG or ISR
Same title on every pageCrawl shows duplicate titlesPer-page metadata from page data
Missing or wrong canonicalCanonical points to the home page or is absentAbsolute self-canonical per route
Soft 404 pagesMissing pages return 200Return a real 404 status for unknown routes
No sitemap or a static oneNew pages missing from Search ConsoleGenerated sitemap from routes and content
Broken old URLs after launchSpike of 404 errors and traffic dropFull URL map with permanent redirects
Arabic and English mixed upWrong language ranking in each marketLocale routes /ar with correct hreflang alternates
Links built with click handlersPages discovered only from the sitemapUse anchor tags with href for navigation

Bilingual frameworks need careful language routing. Our page on hreflang for Arabic and English explains the setup, and Core Web Vitals covers speed for heavy JavaScript pages.

Our process

How we work with developers

01
SEO requirements

Before the build we deliver a written list: rendering, metadata, sitemap, robots, status codes, hreflang and schema.

02
URL map

For migrations we map every old URL with traffic or links to its new URL.

03
Staging review

We crawl staging, test raw HTML and check every template against the requirements.

04
Launch day checks

We test redirects, robots.txt, the sitemap and Search Console right after launch.

05
Post launch monitoring

We watch indexing, errors and clicks weekly in the first month, then monthly.

Results

What technical fixes can do

+157%
clicks in 6 months, established Gulf site
6.7 to 5
average position
427K to 1.38M
impressions

An established site in the Gulf went from 2.75K clicks to 7.06K clicks in 6 months, with impressions rising from 427K to 1.38M and average position improving from 6.7 to 5. In another case, a gaming and gift cards marketplace recovered from a sharp traffic drop through technical cleanup, indexation work and new category and product templates, growing from 6,778 clicks in March 2026 to 44,044 in September 2026. Template-level fixes like these are what custom sites need, because one change applies to thousands of pages. More results are in our case studies.

Results depend on the starting point of each site, the level of competition and how fast changes are implemented. All figures come from Google Search Console of real client properties.

Building or migrating a custom or Next.js site? Send us the staging link before launch.

Get a free SEO audit

Related

If you are planning a new site

We also build sites through our web development service, with the SEO requirements included from the start. If your custom site has pages that Google finds but does not index, read crawled, currently not indexed.

FAQ

Frequently asked questions

Is Next.js good for SEO?

Yes, when pages are rendered on the server or generated statically. Next.js gives fast pages and full control of metadata. The risk is content that loads only in the browser.

Does Google index JavaScript content?

Google can render JavaScript, but rendering can be delayed and is less reliable than plain HTML. Important content, links and metadata should be in the first HTML response.

SSR or SSG: which is better for SEO?

Both give Google full HTML. SSG or ISR suits pages that change rarely and is the fastest. SSR suits pages that must be fresh on every request. The choice is about content, not rankings.

Is a 308 redirect the same as a 301 for SEO?

Google treats 308 as a permanent redirect, the same way it treats 301. Next.js uses 308 for permanent redirects by default.

When should the SEO team join a custom build?

Before development starts. Adding rendering, metadata and redirect rules after launch costs more and often means a traffic drop first.

Want to know what is holding your site back?

Send us your website and get a free SEO audit with the first fixes to make.