Iurii RoguliaIurii Rogulia
AboutAI EngineeringServicesProjectsAI SkillsStackTestimonialsPhrasesBlog
Contact
Iurii ships.

Iurii Rogulia, Senior Agentic AI & Full-Stack Software Engineer. Professionally building software since 2001.

ChecklistsPrivacy PolicyCookie Policy
Just for fun:Think of a numberThink of a birthday

Business

TMI Iurii Rogulia
VAT ID: FI29845875
DUNS: 368664211
Lappeenranta, Finland 🇫🇮

  1. /
  2. Blog
  3. /
  4. Technical SEO for Next.js with SSR, JSON-LD and Sitemaps

Iurii Explains: Technical SEO for Next.js with SSR, JSON-LD and Sitemaps

SSR, meta tags, JSON-LD schemas, Open Graph – the technical foundation I ship with every project because a site crawlers can’t parse is a site that doesn’t work

December 15, 2025· 3 min read

Technical SEO built into Next.js: server-side rendering, dynamic meta tags, JSON-LD structured data, and automatic sitemap generation – no plugins, just code.

Stack

Next.jsReactTypeScript

Topics

SEOArchitecturePerformance
Technical SEO for Next.js with SSR, JSON-LD and Sitemaps

I don’t offer SEO as a service. But every site I build ships with technical SEO baked in – because it’s not marketing, it’s engineering. A site that search engines can’t crawl or understand is a site that doesn’t work properly. In the pikkuna.fi e-commerce build, that meant correct hreflang across 30 languages, server-rendered product pages, and JSON-LD that survived localization. Same principles, scaled up.

Related service

MVP Development

Building a Next.js project that needs to rank from day one? SSR, structured data, and sitemaps are part of what I ship – not add-ons.

More about this service →

Server-Side Rendering by Default

Single-page apps with client-side rendering are invisible to most crawlers. Every project I build uses Next.js App Router with server components:

// app/products/[slug]/page.tsx
export default async function ProductPage({
  params
}: {
  params: Promise<{ slug: string }>
}) {
  const { slug } = await params;
  const product = await getProduct(slug);
 
  return (
    <article>
      <h1>{product.name}</h1>
      <p>{product.description}</p>
    </article>
  );
}

The HTML arrives fully rendered. No JavaScript required for indexing.

Dynamic Meta Tags

Every page gets proper meta tags generated from actual content:

// app/products/[slug]/page.tsx
export async function generateMetadata({
  params,
}: {
  params: Promise<{ slug: string }>;
}): Promise<Metadata> {
  const { slug } = await params;
  const product = await getProduct(slug);
 
  return {
    title: `${product.name} | Store`,
    description: product.description.slice(0, 160),
    openGraph: {
      title: product.name,
      description: product.description,
      images: [product.image],
    },
  };
}

This handles SEO meta tags, Open Graph for social sharing, and Twitter cards – all from one function. The preview images those tags point to can be generated per page too, which is covered in Next.js Dynamic OG Images: Fix the Turbopack CPU Hang.

JSON-LD Structured Data

Schema.org markup tells search engines exactly what the content represents:

function ProductJsonLd({ product }: { product: Product }) {
  const schema = {
    "@context": "https://schema.org",
    "@type": "Product",
    name: product.name,
    description: product.description,
    image: product.image,
    offers: {
      "@type": "Offer",
      price: product.price,
      priceCurrency: "EUR",
      availability: "https://schema.org/InStock",
    },
  };
 
  return (
    <script
      type="application/ld+json"
      dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }}
    />
  );
}

I add appropriate schemas based on content type: Product, Article, Organization, FAQPage, BreadcrumbList.

Automatic Sitemap Generation

Next.js can generate sitemaps from your data:

// app/sitemap.ts
export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
  const products = await getAllProducts();
 
  return [
    { url: "https://example.com", lastModified: new Date() },
    ...products.map((p) => ({
      url: `https://example.com/products/${p.slug}`,
      lastModified: p.updatedAt,
    })),
  ];
}

No plugins, no external services. Just code that generates /sitemap.xml at build time.


This isn’t optimization work you hire someone for later. It’s the baseline for a properly built website. When I deliver a project, the technical SEO foundation is already there – because skipping it means shipping broken software.

If you want to go further with the indexing layer, read IndexNow in Next.js: Instant Indexing After Every Deploy and llms.txt for AI Discoverability. Together with the patterns above, that’s the full stack.

Related service

Technical SEO/GEO Audit

Want this same checklist applied to your existing site? Fixed-fee Technical SEO/GEO Audit – keyword research per market, schema, sitemap, hreflang, Core Web Vitals, indexing, broken links, OG images – delivered as a prioritised written report in 5 working days.

More about this service →

If you’d rather not implement any of it yourself, SEO & AI Search Optimization is the monthly version of this checklist – I do the work on your site instead of handing you a list.

For MVP development with this foundation built in from the start – get in touch.

Iurii RoguliaAvailable

MVP Development

Every Next.js project I ship comes with this stack built in – SSR, structured data, sitemaps, IndexNow. Not bolted on later.

More about this service

Relevant client work

View all projects
pi-pi.ee – B2B E-commerce for Waterless Urinal Systems
pi-pi.ee – B2B E-commerce for Waterless Urinal Systems
January 17, 2026
pi-pi.ee – B2B E-commerce for Waterless Urinal Systems

i18n B2B e-commerce platform for waterless urinal products across 32 European countries with automated VAT handling, PDF invoicing, and CRM integration.

pikkuna.fi – E-commerce for Vinyl Curtains & PVC Products
pikkuna.fi – E-commerce for Vinyl Curtains & PVC Products
October 12, 2024
pikkuna.fi – E-commerce for Vinyl Curtains & PVC Products

E-commerce platform with 30 locales, product configurators, AI chatbot, and fully automated order flow: Stripe → Zoho CRM → Airtable → Mailgun → PDF.

pi-pi.ee – Live Custom-Colour Preview
pi-pi.ee – Live Custom-Colour Preview
July 28, 2026
pi-pi.ee – Live Custom-Colour Preview

Recolour a product photo to any colour in the browser. A canvas pass tints one white master per photo, so made-to-order colours need no extra photos.

What clients say

“

I’d built most of our MVP with Cursor and it looked finished – it compiled, the tests were green, the demo worked. It just wouldn’t survive real users.

Sebastian Falk 🇸🇪

Founder

Stack

Next.jsTypeScript

Topics

Technical DebtAICode ReviewArchitecture
“

We publish 20-30 news articles per day and indexing latency was killing us – by the time Google crawled a story, the news cycle had moved on.

Andrei Popescu 🇷🇴

Engineering Manager

Topics

SEOIndexNowArchitecturePerformance
“

I’d read about llms.txt and AI discoverability but had no idea whether any of it actually mattered for our SaaS docs site.

Dimitris Papadakis 🇬🇷

Founder

Topics

SEOllms.txtAIArchitecture

Related articles

Recoloring a Product Photo with an SVG Filter – and Where It Breaks
November 4, 2026· 9 min
Recoloring a Product Photo with an SVG Filter – and Where It Breaks

An SVG product color preview from one transparent photo works, but the result depends on the photo’s tonal range. Measured, with what replaced it.

Stack

Next.jsReactTypeScript
React Server Components Admin Dashboard: No Client Data Layer
October 30, 2026· 8 min
React Server Components Admin Dashboard: No Client Data Layer

A React Server Components admin dashboard in Next.js: role guard before data, SQL aggregation, a JSX-only chart, and where the approach stops working.

Stack

Next.jsReactTypeScript

Databases

PostgreSQL
A Typed MDX Content Pipeline with Velite (Next.js Tutorial)
August 19, 2026· 9 min
A Typed MDX Content Pipeline with Velite (Next.js Tutorial)

Build a type-safe content layer with Velite: Zod schemas for MDX and JSON, computed fields, one typed import, and a related-posts codegen step.

Stack

Next.jsTypeScript
B2B Quote-to-Order Flow in Next.js: A State Machine That Doesn’t Drift
August 7, 2026· 10 min
B2B Quote-to-Order Flow in Next.js: A State Machine That Doesn’t Drift

B2B quote-to-order flow in Next.js: RFQ → quote → order state machine, per-deal line items, guarded transitions, and quote conversion without data drift.

Stack

Next.jsReactTypeScript

Databases

PostgreSQL
Gated B2B Pricing in Next.js: Hiding Prices Behind Per-Customer Access
July 24, 2026· 9 min
Gated B2B Pricing in Next.js: Hiding Prices Behind Per-Customer Access

Gated B2B pricing in Next.js: per-account price lists and server-side access control so prices never leak to crawlers.

Stack

Next.jsReactTypeScript

Databases

PostgreSQL