Instantly redirect traffic using custom Vercel Firewall rules

Table of Contents
- Introduction
- Using Custom Vercel Firewall Rules
- Benefits of Custom Rule Redirects
- Summary
Introduction
Custom Vercel Firewall rules allow for instantaneous redirection of traffic without the need for a new deployment. These rules can be used to redirect requests to a new page, complementing existing challenge and block actions.
Using Custom Vercel Firewall Rules
Custom rule redirects provide a quick alternative to Edge Network redirects, especially in urgent scenarios. They are applied instantly across the global Vercel Edge Network without requiring a new deployment. The redirects take precedence over Edge Network configuration redirects such as vercel.json or next.config.js.
Benefits of Custom Rule Redirects
- Immediate redirection of traffic
- No deployment needed
- Can be used for emergency situations
- Precedes Edge Network redirects
- Available for free on all Vercel plans
Summary
Custom Vercel Firewall rules offer a fast and efficient way to redirect traffic in real-time. By leveraging custom rules, users can seamlessly redirect requests to new pages without any deployment overhead, making it a valuable tool for handling immediate redirection needs.