Skip to content
VercelLogotypeVercelLogotype
LoginSign Up

Emergency Redirect Firewall Rule

Use this template to quickly implement an emergency redirect rule with the Vercel Web Application Firewall (WAF).

DeployView Demo

Emergency Redirect Rule

This template provides a quick solution for implementing an emergency redirect rule using the Vercel Web Application Firewall (WAF). This approach is designed for temporary use to address urgent redirect needs until a more permanent solution can be put in place.

Overview

In the event of an emergency where you need to redirect traffic from one URL path to another, this WAF rule can be rapidly deployed. The rule identifies incoming requests based on their path and redirects them to a specified new location.

To use

To use this template, follow these steps:

  1. Click "Add Firewall Rule" in your WAF management console.
  2. Select your team and project.
  3. Configure the rule as necessary to meet your redirect needs.
  4. Don't forget to save the rule, review your changes, and hit "Publish" to activate the rule.

Consider customization

The generated firewall rule provides a basic redirect structure. Consider customizing the following parameters to suit your specific needs:

  1. Match Conditions: Modify the conditions to match other request attributes such as headers, query parameters, or IP addresses.
  2. Path Identification: Adjust the path settings to accurately match the paths you need to redirect.
  3. Target URL: Customize the new location where requests should be redirected.

Availability

This emergency redirect solution can be implemented by users on all plans.

GitHub
Ownervercel
Repositoryfirewall-templates
Use Cases
Vercel Firewall
Stack
Other
None

Related Templates

Block AI Bots Firewall Rule

Adds a rule to your Vercel Firewall that detects common AI Bots.
Block AI Bots Firewall Rule thumbnail

Block WordPress URLs Firewall Rule

Adds a rule to your Vercel Firewall that blocks common WordPress-related URLs.
Block WordPress URLs Firewall Rule thumbnail

Block Bad Bots Firewall Rule

Adds a rule to your Vercel Firewall that identifies bots that you might not want requesting your projects.
Block Bad Bots Firewall Rule thumbnail

Agent Stack

  • AI SDK
  • AI Gateway
  • Sandbox
  • Workflows
  • EveNew
  • ConnectNew

Core Platform

  • CI/CD
  • Content Delivery
  • Fluid Compute
  • Observability

Security

  • Platform Security
  • WAF
  • Bot Management
  • Bot ID

Tools

  • Vercel DropNew
  • Vercel Agent
  • Vercel PluginNew
  • Next.js
  • Domains
  • v0

Frameworks

  • Nuxt
  • SvelteKit
  • Nitro
  • Turborepo
  • Tanstack Start
  • FastAPI
  • xmcp
  • All frameworks

SDKs

  • Vercel SDK
  • Workflow SDKNew
  • Flags SDK
  • Chat SDKNew
  • Queues SDKNew
  • Streamdown

Build

  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce
  • Platform Engineers
  • Design Engineers

Learn

  • Docs
  • Blog
  • Changelog
  • Knowledge Base
  • Academy
  • Articles
  • Community

Explore

  • Customers
  • Marketplace
  • Templates
  • Partner Finder
  • Vercel + AWS

Company

  • About
  • Careers
  • Press
  • Events
  • Startups
  • Shipped on Vercel
  • Open Source Program
  • Enterprise
  • Pricing
  • Help

Legal & Trust

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • DPA
  • Acceptable Use Policy
  • Legal (all documents)
  • Trust Center
  • Status

Social

  • GitHub
  • X
  • LinkedIn
  • YouTube
  • Instagram
  • VercelVercel
Agent Stack
  • AI SDK
  • AI Gateway
  • Sandbox
  • Workflows
  • Eve
Core Platform
  • Security
  • Content Delivery
  • Fluid Compute
  • Observability
  • CI/CD
Tools
  • Next.js
  • Vercel Agent
  • Vercel Plugin
  • Domains
  • v0
Learn
  • Docs
  • About
  • Blog
  • Changelog
  • Knowledge Base
Build
  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce
Explore
  • Customers
  • Marketplace
  • Partner Finder
  • AWS
  • Community
EnterprisePricing
Contact
Log InSign Up
Dashboard

Products

Agent Stack

  • AI SDK
  • AI Gateway
  • Sandbox
  • Workflows
  • Eve

Core Platform

  • Security
  • Content Delivery
  • Fluid Compute
  • Observability
  • CI/CD

Tools

  • Next.js
  • Vercel Agent
  • Vercel Plugin
  • Domains
  • v0
Resources

Learn

  • Docs
  • About
  • Blog
  • Changelog
  • Knowledge Base

Build

  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce

Explore

  • Customers
  • Marketplace
  • Partner Finder
  • AWS
  • Community
Enterprise
Pricing
Sign UpLog In
Contact
Add Firewall RuleVercel WAF Docs

Loading status…

Select a display theme: