A site owner on r/TechSEO built a Next.js blog this week and fetched each post's text in the browser. Search Console then showed an empty content area for the page and left it as "Crawled, currently not indexed." The advice in the replies was to move the fetch to the server, so the article is already in the HTML when anything asks for the page.
Next.js page content not showing in Google’s indexed HTML, how do I fix JS rendering?
I’m building a small blog with Next.js. The post content loads using a client-side fetch inside useEffect. In Search Console’s URL Inspection, the rendered HTML shows an empty content area and the page says “Crawled currently not indexed.”...
That's the whole idea of the Next.js destination. This guide covers how RankControl's articles reach a Next.js site, which files you add, what Next.js 16 needs from them, and how to check that the first response your site sends already holds the article.
Is Next.js the right destination for your site?
It is when your own developer owns the site and wants articles at your own URLs with no copy and paste. With Next.js nothing gets pushed. Per RankControl's docs, your site reads articles from the Content API and renders them in your layout, and RankControl never touches your repository or your host. That also means you own the route, the layout and the uptime, so if your site is down the article page is down even while the Content API is up.

| Your site runs on | Best route |
|---|---|
| Next.js on a host that runs server code | This destination, with a revalidate route |
| A static export | The same destination with a build hook, since a rebuild publishes the article |
| Another framework | The Content API directly, or a webhook |
What do you set up in RankControl?
Four things, all in Brand Kit under Publishing.
- Pick the Headless / Static / Next.js card.
- Enter your site URL and the article path, such as
/blog. If a route already exists there, pick a different path. - Click Create destination.
- Copy the API key from the next screen, because it's shown only once.
If you lose it, you can mint a new Content API read key under Settings, then API. The screen also gives you an agent prompt for a coding assistant working in your repository, or the same files as copy-paste blocks. One quirk is worth knowing, because a newly connected site shows an empty list until you publish something. That's the setup working.
Which files go into your project?
Five, and the dashboard prints the code for each.
| File | What it does |
|---|---|
.env.local | Holds the API URL, your key and a revalidate secret |
lib/rankcontrol.ts | Fetches articles from the Content API |
app/blog/[slug]/page.tsx | Renders each article as a native page |
app/api/rankcontrol/revalidate/route.ts | Lets RankControl ask your site to refresh a page |
next.config.js | Allows the article image host |
The docs write the page path with a [path] placeholder, so swap in your own. For /blog the page is app/blog/[slug]/page.tsx. If your site already lists its own posts, one more snippet merges the articles into your blog index and sitemap.
What does Next.js 16 need from that code?
Check the basics first, which are Node.js 20.9 or newer and TypeScript 5.1 or newer. After that, three rules cause most of the failures, and each one fails in its own way. I built the setup on Next.js 16.4.5 against a mock of the documented JSON to see them.
| Rule | If you get it wrong |
|---|---|
params is a Promise, so await it | The build passes and every article returns 404 |
revalidateTag takes a second argument, such as "max" | The build fails with a type error |
A proxy.ts file must export a function named proxy | The build fails with "Proxy is missing expected function export name" |
The first one is the sneaky one. Next.js 16 removed synchronous access to params, and old code still compiles.
export default async function Page({
params,
}: {
params: Promise<{ slug: string }>
}) {
const { slug } = await params
// fetch the article for this slug, then render it
}
// in the revalidate route
revalidateTag("articles", "max")
The proxy file is the optional crawler snippet. Its docs section covers the file name, and Next.js's own proxy page says the file must export a single function, either as a default export or named proxy. Check all three lines in the code you paste.
How does a new article reach the page?
Next.js renders an unknown slug on its first request by fetching the Content API, so a new article doesn't need a deploy. The revalidate ping then asks your site to refresh a page that already exists.

That ping works the way Next.js's revalidateTag docs describe. With the max profile, the next request is served the stale page while a fresh one builds, so one reload can still show the old article. Don't promise yourself an instant refresh. Check the header instead, as the test table below shows.
One gotcha showed up in my local test. A slug opened before the article existed returned a 404, and Next.js kept that 404 even after the article was published. It was one machine with a mock API, so check it on your own host, and don't have anything request a slug before you publish.
What breaks it most often?
Most failures trace back to a handful of causes, and the Next.js error text usually names them.
| Symptom | Likely cause | Fix |
|---|---|---|
| Every article returns 404 after a clean build | params read without await | Await params, as Next.js 16 requires |
| Type error on the revalidate route | revalidateTag called with one argument | Add a profile such as "max" |
| The build exits partway through | One article fetch returned an error, such as a rate limit | Read the response status in the build log and retry |
| An old 404 keeps showing | The slug was requested before it was published | Refresh the page, and keep bots off unpublished slugs |
| Images come back as 400 | The image host isn't allowed in next.config.js | Add the host named in the docs |
| Your own posts vanished or doubled | The article path collides with an existing route | Pick a different article path |
The code also leaves a few things to you. In my local test the article page had a title, a description, a heading, the body and JSON-LD in its raw HTML, but no canonical link and no Open Graph tags. Next.js sets a canonical through alternates in generateMetadata, with metadataBase set once for the site, so add both if you care how a shared link looks.
Your competitors are building backlinks while you read this.
Organic outreach, social mentions, and citations from Editorial Circle member sites, with managed backlinks available as an add-on. Grow your domain authority without running the campaign yourself.

Does your host run it?
Your host decides how much of this applies.
| Where the site runs | What to know |
|---|---|
| A platform with server functions | The full flow applies, and RankControl's docs say the crawler snippet works on Vercel, Netlify and Cloudflare Pages |
| Your own Node server | The flow works, though Next.js says on-demand revalidation only reaches the instance that gets the call |
| A static export | No refresh ping, so paste the build hook URL on the destination and each published article triggers a rebuild |
If you're unsure which row you're in, the r/nextjs thread on running Next.js outside Vercel shows how many setups exist.
Anyone running Next.js outside Vercel in production? What’s your setup?
Curious how people are running Next.js in production without Vercel.What made you choose your current setup? Cost, flexibility, existing infrastructure, or something else? And now that you’ve been running it for a while, what’s been surpris...

You're getting AI traffic. But do you know where it comes from?
RankControl credits every visit to the assistant that sent it: ChatGPT, Perplexity, Claude, Gemini, Copilot, or Grok. Full source attribution, next to your Google traffic.
Will AI crawlers read the page?
They will if the article is in the first HTML. RankControl's docs say crawlers such as GPTBot, ClaudeBot and PerplexityBot fetch your HTML and stop, and they run no JavaScript. A Vercel and MERJ study from December 2024 reached the same conclusion, finding that none of the major AI crawlers render JavaScript, though OAI-SearchBot may render scripts later and OpenAI doesn't say. Google puts it more gently, since its JavaScript SEO guide says server-side rendering is still a great idea because not all bots can run JavaScript.
The optional proxy snippet reports crawler visits, and they show up in RankControl under Analytics, then AI Crawling. Our guides to which AI bots can crawl your website and auditing crawlers in your server logs cover the rest.
How do you test it before you trust it?
Run these in order. None of them needs a published article except the last two.
| Check | How | What you should see |
|---|---|---|
| The key works | Call GET /api/v1/articles with your key as a Bearer header | A list, which is empty until you publish |
| An unknown slug is handled | Open a slug that doesn't exist | A 404 page that Next.js marks noindex |
| The article is in the raw HTML | curl the article URL and look for the heading and body | The text appears in the response |
| The cache behaves | Read x-nextjs-cache on two reloads | MISS then HIT, with STALE after an edit |
| An edit refreshes | Update an article, then reload twice | The old copy once, then the new one |
| The crawler snippet answers | Run the curl check from the docs | {"ok":true,"test":true} |
If the last refresh never arrives, check the revalidate secret on your host and the fixed IP rule. RankControl's publishing requests arrive from one address, so a firewall in front of your site needs a single allow rule.
Doing it yourself or handing it off
The wiring is a one-time job for a developer. The heavier work comes after, writing articles that deserve the page and tracking what happens to them.
RankControl's content engine writes each article against the pages already ranking for its keyword and publishes it on your own domain, and our AI visibility tracking checks seven engines every week. You can wire up the Next.js route yourself and handle the rest by hand, or let RankControl's agents do the writing, publishing and tracking while your developer gets on with the product.
We'll show you exactly where your brand stands in AI search.
No commitment. $0 due today, cancel anytime. See how ChatGPT, Perplexity, Gemini, Google AI Mode, DeepSeek, Google AI Overviews, and Bing AI Summary talk about your brand today. Add Claude and Grok with your own API keys.










