Webflow WAF: set firewall rules without blocking real visitors
Webflow WAF firewall rules arrived in November 2026. How they filter traffic at the edge, a safe five-step rollout, a test script and fixes for common mistakes.
Webflow now has its own web application firewall, added in November 2026. It lets you block or allow traffic to your custom domain before it reaches your site, which helps with scrapers, junk bots and probes for pages you don't have.
Rules match on five things: country, IP address, network, user agent and URL path. They work on custom domains only, and a request the firewall can't evaluate still gets through, so it adds protection but doesn't replace good site hygiene.
Roll it out in five steps. First, list everything that must get in, such as search engine crawlers, uptime monitors and your form tools. Second, find the traffic you actually want to stop. Third, write narrow rules, one job each. Fourth, test from outside the office after every change. Fifth, check the audit log so you know who changed what.
The common mistakes are rules that are too broad, like blocking every user agent with the word bot in it, and forgetting link preview and monitoring services.
If you'd like a second pair of eyes on your rules, a Webflow developer can review them before they go live.
If your Webflow site is getting hammered by scrapers, junk bots or requests for pages that don't exist, this guide is for you. Webflow WAF firewall rules let you stop that traffic at the edge, before it reaches your site, and in this post we explain how the new firewall works, how we'd roll it out without locking out real customers, and how to fix the mistakes we see most often.
The problem: unwanted traffic you couldn't control
Until recently, a Webflow site owner had very little say over who could request their pages. Webflow hosts the site on its own infrastructure, so you couldn't install a server firewall, and putting your own proxy in front of Webflow meant extra setup and another bill. The usual complaints we heard from marketing teams were familiar:
- Scrapers copying the CMS collection pages night after night.
-
Bots probing paths like
/wp-login.phpon a site that has never run WordPress. - Bandwidth climbing on the plan dashboard with no matching rise in enquiries.
- Security questionnaires from larger customers asking "do you run a WAF?" with no good answer.
On 18 November 2026, Webflow announced a built-in web application firewall (WAF) on its updates page. It's included at no extra cost on the latest versions of the Scale and Enterprise site plans, according to that announcement. Older plan versions may not include it, so check your site plan before you plan around it.
How Webflow WAF firewall rules actually work
A WAF sits between the visitor and your site. Every request to your custom domain passes through Webflow's edge network first, and that's where your rules run. If a request matches a block rule, it never reaches your pages. If it matches an allow rule, or nothing at all, it continues as normal.
Webflow's rules can match on five properties of a request:
| Match on | What it is | Good for |
|---|---|---|
| Country | Where the request appears to come from | Markets you never sell to, where your legal team has asked for it |
| IP address | A single address or range | A known abusive source, or allowing your own office |
| ASN | The network that owns the IP range, such as a hosting provider | Scrapers running from rented cloud servers |
| User agent | The name a client sends to identify itself | Tools that announce themselves honestly |
| URL path | The part of the address after your domain | Probes for admin pages your site doesn't have |
Rules are written as JSON. You can write them yourself in the site settings, or have an AI assistant draft them through Webflow's MCP server. Before you save, Webflow warns you if a rule would block all of your traffic, and every change is recorded in the site's audit log with a timestamp and the name of whoever made it.
Two limits matter. The WAF only covers custom domains on Webflow's current hosting; the webflow.io staging domain and legacy domain setups aren't covered. And if the WAF can't evaluate a request, Webflow lets it through rather than blocking it. That's a sensible choice for keeping sites online, but it means the firewall is a layer of protection, not a wall.
How to set up Webflow firewall rules step by step
We treat a firewall change like a code change: plan it, keep it small, test it and record why it exists. Here's the routine we follow.
- 1 List who must get in. Search engine crawlers, your uptime monitor, social and chat link preview bots, your marketing automation tools and anything that calls your site's forms or webhooks. Write these down before you block anything.
- 2 Find the traffic you want to stop. Look at what's actually hitting the site: odd paths in your analytics, repeated requests from one network, user agents that name a scraping tool. Block what you can name, not what you suspect.
-
3
Write narrow rules. One rule, one job. "Block requests to
/wp-adminand/wp-login.php" is easy to understand and can't hurt a real visitor on a Webflow site. "Block every user agent containing bot" will catch Googlebot. - 4 Test from outside. After each change, load the key pages, submit a test form and run a quick script like the one below from a network that isn't your office.
- 5 Review the audit log. Add a short note in your team's changelog for every rule: what it blocks, why and who asked for it. The audit log tells you who changed something; your notes tell the next person why.
A quick test script
This Bash script requests a few paths with different user agents and prints the status code for each. Save it as waf-check.sh, change SITE to your custom domain and the paths to your own key pages, then run bash waf-check.sh after every rule change.
#!/usr/bin/env bash
# Spot-check Webflow WAF rules from outside your network.
SITE="https://www.example.com"
BROWSER="Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
check() {
code=$(curl -s -o /dev/null -w '%{http_code}' -A "$2" "$SITE$1")
printf '%-22s %-14s %s\n' "$1" "${2%% *}" "$code"
}
check "/" "$BROWSER"
check "/contact" "$BROWSER"
check "/blog" "$BROWSER"
check "/wp-login.php" "$BROWSER"
check "/" "Googlebot/2.1 (+http://www.google.com/bot.html)"
check "/" "BadScraper/1.0"
Your real pages should return 200, and the paths or agents you've blocked should return an error status. Note what your site returns for a blocked request the first time, so you can spot surprises later. Faking a crawler's user agent only tests your user agent rules; it doesn't prove real crawlers get through, so also check the crawl reports in Google Search Console after a change.
What we've learned from firewall rollouts
Firewalls fail quietly. When a rule is wrong, nobody gets an error message; a buyer just can't load your pricing page and leaves. That's why we're cautious with anything broad.
- Don't block by user agent keyword. Words like "bot", "crawler" or "python" match legitimate tools as well as bad ones. Block the exact tool name you've seen in your traffic.
- Be careful with cloud networks. Blocking a whole hosting provider's ASN stops scrapers, but it can also stop your uptime monitor, your form integrations and AI tools your own team uses.
- Keep the rule list short. A long list of one-off blocks is hard to review. If you find yourself adding rules every week, the problem may be better solved elsewhere, such as form spam protection or the guidance in our post on controlling search and AI crawlers with Webflow robots.txt.
- Agree who owns the rules. Decide whether your team or your agency approves changes. If an AI assistant drafts rules through MCP, a person should still read each one before it's saved.
We wouldn't add a WAF just to tick a box. If your site gets light, normal traffic, the main benefit is answering security questionnaires honestly. If you already run your own Cloudflare zone in front of Webflow, you may prefer to keep your rules there rather than split them across two places.
Troubleshooting common Webflow WAF problems
- Symptom: Search Console shows crawl errors or pages dropping out after a rule change. Likely cause: a user agent or network rule is catching a search engine crawler. Fix: remove or narrow the rule, then use the URL Inspection tool to request a fresh crawl. Our guide to keeping Googlebot crawling when you change your CDN covers the checks in more detail.
- Symptom: links shared in chat apps or social posts show no preview image. Likely cause: preview bots identify themselves with agent names your rule matches. Fix: replace keyword blocks with exact tool names.
- Symptom: your uptime monitor reports the site as down, but it loads in a browser. Likely cause: the monitor runs from a cloud network you've blocked by ASN. Fix: allow the monitor's IP addresses, or drop the ASN rule.
-
Symptom: a rule seems to do nothing. Likely cause: you're testing on the
webflow.iodomain, the domain is on a legacy setup, or those requests couldn't be evaluated. Fix: test on the live custom domain and check the domain setup in the site's publishing settings. - Symptom: a teammate or client can't reach the site while travelling. Likely cause: a country rule. Fix: add an allow rule for their IP, or reconsider whether the country rule is needed at all.
Questions people ask
Is the Webflow WAF included in my plan?
Webflow's announcement lists it on the latest versions of the Scale and Enterprise plans at no extra cost. Sites on older plan versions or lower plans may not see it. Check the site's plan settings, or ask Webflow support if it's unclear.
Will Webflow firewall rules stop form spam?
Partly. They can block a known spam source or tool, but most form spam comes from many different addresses. Use Webflow's form spam protection alongside the WAF rather than relying on firewall rules alone.
Can a WAF hurt my SEO?
Only if a rule blocks search engine crawlers. Narrow rules on paths and named tools don't affect them. Test with the script above and watch Search Console after every change.
Why this matters for your business
Your website is a sales tool, and unwanted traffic costs you in quiet ways: bandwidth, skewed analytics, copied content and harder security reviews when a larger client wants to buy from you. A small, well-documented set of firewall rules deals with the worst of it without putting real buyers at risk. The same care applies when you hand the site between people, which is why we also suggest a clear review process like the one in our post on running client feedback rounds in Webflow.
A short checklist to finish:
- Confirm your plan includes the WAF and your domain is on current hosting.
- Write down who must always get in.
- Start with path rules for pages you don't have.
- Add narrow rules only for traffic you can name.
- Test after every change and keep notes alongside the audit log.
If you'd like your rules reviewed or set up as part of a wider build, our Webflow development service covers it, or you can get in touch about your site.
(over to you)
Planning a build like this?
Tell us what you're building and we'll come back with ideas and next steps.
