Alpha Tech Logo

Alpha Tech

SOFTWARE SYSTEMS COMPANY
Server Persistence Tools Picture

June 7, 2025 • Hassam Fathe Muhammad

How I Managed SEO of Dynamic Content on the Store Page of My Glorafy Client Project

When it comes to building web apps or websites that serve a purpose or offer utility, visibility matters — especially in search engines. That's where Search Engine Optimization (SEO) comes in. For the Glorafy project — a herbal hair product store — I had to find a way to balance dynamic interactivity with static SEO metadata.

🔍 Understanding Static Rendering and Server Components

In Next.js, server components rendered during the build (aka Static Site Generation) must not contain React hooks or interactive code. If a component uses hooks, it must be declared a &quote;use client&quote; component.

💡 My Strategy for Glorafy

To solve SEO for the Store page, I broke the architecture into 3 parts:

  1. Client Component (Interactive Store Order System): Handles user input, cart, and dynamic interaction — fully client-rendered.
  2. CSS-Hidden Server Component (SEO Block): A static, non-interactive grid rendered at build time, visually hidden with CSS, but crawlable for search engines.
  3. Shared Fetch via ISR: I used revalidate: 60 to fetch product data using ISR and serve it to both components, ensuring dynamic freshness and static SEO at the same time.

✅ The Outcome

This hybrid strategy gave Glorafy:

If you're working on a Next.js project that needs both SEO and interactivity — this strategy can bridge the gap without losing performance.

#NextJS #SEO #DynamicContent #Glorafy #FullStackDev #ClientWork #AlphaTech #ISR #WebPerformance