Static host limits that matter for an exported site

Short answer

Check four limits before you pick a host: how many redirects it allows, how many header rules, how it handles unknown URLs, and whether it serves HTTPS directly. Cloudflare Pages caps redirects at 2,000 static and 100 dynamic, Amazon S3 allows 50 routing rules, and the S3 website endpoint is HTTP only.

By WebExport team · Last reviewed

Key facts

  • Cloudflare Pages _redirects allows 2,000 static and 100 dynamic redirects, and _headers allows 100 rules.
  • Amazon S3 routing rules are limited to 50 per website configuration.
  • Without a 404.html, Cloudflare Pages answers unknown paths with index.html.
  • Vercel bulk redirects need a Pro or Enterprise plan, and they accept up to 1,000,000 per project.

The limits side by side

These numbers come from each host’s documentation as read on the date of this post. Limits change, so use the linked pages for current values. Entries marked unconfirmed are standard behavior that the pages we read did not state.

HostRedirectsHeadersUnknown URLsHTTPS
Vercelvercel.json redirects: no limit stated on the pages we read. Bulk redirects: Pro and Enterprise onlyheaders in vercel.jsonServes 404.html from the project root on a static deployment (unconfirmed in the docs we read)Yes
Netlify_redirects or netlify.toml, first match wins_headers or netlify.toml, applies to files served from Netlify storage404.html in the publish directory (not confirmed in the pages we read)Yes
Cloudflare Pages2,000 static and 100 dynamic, 1,000 characters each, default status 302100 rules, 2,000 characters per lineA top-level 404.html is needed, otherwise index.html is returnedYes
Amazon S350 routing rules, plus per-object redirectsNone on the website endpointAn error document, for 4XX responses onlyNo on the website endpoint, so use CloudFront
NginxNo platform limit. 10 internal redirects per request before an erroradd_header and expires in configerror_page in configYour certificate setup

How to check your own numbers

  1. Count the files and find the largest ones in your export.
  2. Count the redirects you plan to ship, and split them into exact paths and patterns.
  3. Compare the totals with the table above, and with each host’s current limits page.
  4. If you are over a limit, pick the fix below before you deploy.
terminal
find exported-site -type f | wc -l
find exported-site -type f -size +25M
wc -l redirects.txt

What to do when you hit a limit

HostProblemFix
Cloudflare PagesMore than 2,100 redirectsCloudflare points to Bulk Redirects. Replace many single lines with a pattern rule where the pattern is exact
Cloudflare PagesA file larger than 25 MiBCompress or split it, or host it somewhere else and link to it
Amazon S3More than 50 routing rulesCreate one redirect object per old key with x-amz-website-redirect-location
Amazon S3Need HTTPS and headersPut CloudFront in front of the website endpoint
VercelA very large redirect listUse bulk redirects on Pro or Enterprise, or reduce the list with patterns

Host-specific guides show the exact files. Start with Webflow on Cloudflare Pages or Squarespace on Amazon S3, which cover the two limits that people hit first.

What can go wrong

  • Treating a limit as a hard rule when the docs changed. Read the host’s current page before you rely on a number.
  • Missing that the Cloudflare Pages default redirect status is 302. A permanent move needs 301 written out.
  • Assuming a 404.html exists. On Cloudflare Pages, a missing one turns every broken URL into your home page with a 200 status.
  • Forgetting that S3 serves only HTTP on its website endpoint.

Frequently asked questions

Which host has the highest redirect limit?

It depends on the plan and feature. Nginx has no platform limit, Vercel bulk redirects reach 1,000,000 per project on paid plans, and Cloudflare Pages _redirects stops at 2,100.

Where do I find current limits?

On each host’s own pages, linked at the end of this post. Numbers in blog posts go out of date, which is why each one carries a review date.

Do these limits apply to the Free WebExport plan?

They apply to the host you choose, not to WebExport. WebExport’s own limits are 15 pages and 20 MB per export on Free, and unlimited pages and 2 GB on Professional.

How do I choose a host?

The host comparison lists deploy, redirects, headers and forms, and the Static Hosting Picker asks five questions.

Official documentation

Free tools for this job

Try it on your own site

Paste your public site URL into the export form and download a ZIP of static files. The Free plan covers 1 site, 5 exports a month, 15 pages and 20 MB per export. Professional is a $9.99 one-time purchase with unlimited pages.