Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Page parameter URLs past the last page return 200: fix

SEO-134Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Many listing pages use a page number in the URL, such as /blog/?page=3 or /collections/shoes?page=3. Your site knows how many pages exist. If you have 8 pages and someone requests ?page=50, the correct answer is "this page does not exist".

On some sites the server instead answers 200 OK and shows page 1 again, the last page, or an empty grid with a header and footer. To a crawler, a 200 means "this is a real page". An empty page that returns 200 is called a soft 404: it looks like an error to people but not to machines.

Why it costs you leads or sales

The direct harm is small, which is why the impact is rated low. Still, it can add up on large catalogues.

What can go wrong
  • Crawlers can follow ?page=9, ?page=10 and so on without end, spending crawl time on pages with no value.
  • Duplicate copies of page 1 or the last page compete with the real page in search results.
  • Search Console may report soft 404 or duplicate pages, hiding genuine problems in the noise.
  • Bad links from other sites or typos in internal links land visitors on an empty list instead of a useful page.
How an out-of-range page wastes a crawl
  1. Crawler finds ?page=8Last real page, 200 OK
  2. Requests ?page=9Does not exist but returns 200
  3. Duplicate content indexed or queuedSame or empty listing
  4. Tries ?page=10, 11, 12...Crawl time wasted

The crawler keeps finding new page numbers that all return 200.

How to check if your site has it

Test an out-of-range page
  1. Find your last page

    Open a listing such as your blog or a category and click to the final page. Note the number, for example 8.

  2. Request a page far beyond it

    Change the URL to a high number like ?page=9999 and load it.

  3. Check the status code

    Use your browser's developer tools (Network tab) or run the command below. You want 404, or a 301 to a valid page. A 200 means you have the issue.

  4. Check Search Console

    In Google Search Console, open Pages (Indexing) and look for soft 404 and duplicate entries containing page=.

Check the HTTP status of an out-of-range pagebash
curl -s -o /dev/null -w "%{http_code}\n" "https://example.com/blog/?page=9999"

How to fix it

The rule is the same everywhere: if the requested page number is greater than the total number of pages, return a 404 status. A 301 redirect to the last valid page is an acceptable alternative, but 404 is cleaner because the URL never existed. Also treat ?page=0, negative numbers and non-numeric values the same way.

Fix by platform
  1. Check core behaviour

    Standard WordPress archives using /page/9999/ already return 404. If you use a ?page= or custom query parameter, a theme or plugin is handling it.

  2. Add a 404 for empty custom queries

    In your theme template or custom query code, if the query has no posts and the page number is above 1, call global $wp_query; $wp_query->set_404(); status_header(404); before output. Test on a staging copy first.

  3. Review SEO plugin settings

    Make sure no plugin redirects all missing pages to the home page, which hides 404s.

Example: Express route returning 404 for out-of-range pagesjavascript
app.get('/blog', async (req, res) => {
  const perPage = 10;
  const page = Number.parseInt(req.query.page || '1', 10);
  const total = await countPosts();
  const totalPages = Math.max(1, Math.ceil(total / perPage));

  if (!Number.isInteger(page) || page < 1 || page > totalPages) {
    return res.status(404).render('404');
  }

  const posts = await getPosts({ limit: perPage, offset: (page - 1) * perPage });
  res.render('blog', { posts, page, totalPages });
});
Out-of-range request, before and after

Before

  • ?page=9999 returns 200
  • Shows page 1 again or an empty grid
  • Crawlers keep discovering new page numbers

After

  • ?page=9999 returns 404 (or 301 to the last page)
  • Only real pages are crawlable
  • Search Console soft 404 entries clear over time

How to confirm it's fixed

Verification
  • ?page=9999 returns 404 (or a 301 to the last page) in curl or browser developer tools.
  • The real last page still returns 200 and shows items.
  • ?page=0 and ?page=abc do not return 200 duplicates.
  • Page 2 and other valid pages still load normally.
  • In Search Console, use URL Inspection on a bad URL and confirm it reports not found.
  • Soft 404 or duplicate counts for page= URLs trend down over the following weeks.

How to prevent it happening again

Prevention
  • Add an out-of-range pagination test to your release checklist whenever listing templates change.
  • Re-test after theme updates, plugin updates and migrations.
  • Generate pagination links only up to the real total page count.
  • Keep internal links pointing to valid pages only.
  • Review the Pages report in Search Console monthly for soft 404 entries.
  • If you use a crawler such as Screaming Frog, crawl with status code filters and look for 200 responses on high page numbers.

How FunnelGuard handles this

FunnelGuard does not check this yet. Testing out-of-range page numbers is a possible future check, but it is not part of the product today.

What FunnelGuard does do is run your real customer journeys, such as lead forms, checkouts and booking buttons, on a schedule, and check each step, the tracking hits and whether test leads arrive. That covers the paths that bring in leads and sales, not the status codes of pagination URLs.

To watch for this issue today, run the curl check above after template changes, review soft 404 entries in Google Search Console, and run a periodic crawl with a tool such as Screaming Frog, filtering for 200 responses on high page numbers. FunnelGuard also offers a free read-only website audit if you want a broader look at your site.

Questions people ask

Why does ?page=999 on my site return a 200 status?

Your theme, plugin or code probably does not compare the requested page number with the total number of pages. It simply renders whatever it finds, often page 1 or an empty list, and the server reports success. Add a check that returns 404 when the page number is too high.

Should out-of-range pagination return 404 or redirect?

A 404 is the cleaner choice, because the page never existed. A 301 redirect to the last valid page of the same listing is acceptable too. Avoid redirecting everything to the home page, which search engines may treat as a soft 404.

Does a 200 on a non-existent page number hurt my SEO?

The harm is usually small. It can waste crawl time and create duplicate or soft 404 URLs, which clutters Search Console. On very large catalogues it matters more.

How do I check the status code of a URL?

Open the page, press F12, go to the Network tab, reload and look at the status of the first request. Or run curl -s -o /dev/null -w "%{http_code}" URL in a terminal. You want 404 for a page number that does not exist.

What is a soft 404?

A soft 404 is a page that tells visitors nothing is there (or shows empty or duplicate content) but returns a 200 status. Search engines may detect this and report it, but it is better to return a real 404 yourself.

Can I fix this on Webflow or Wix?

Often only partly, because the platform controls the HTTP status. You can avoid linking to missing pages, keep canonicals correct and monitor Search Console. A proxy or CDN in front of the site can add redirect or status rules if you use one.

Does FunnelGuard check for pagination pages returning 200?

No. FunnelGuard does not check this yet; it is a possible future check. Use curl, Search Console and a site crawler to watch for it in the meantime.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.