Getting Started
Getting Started
Installation
Installation
HTTP Rules (Modify Traffic)
HTTP Rules (Modify Traffic)
Overview
Redirect URL (Map Local, Map Remote)
Replace Strings (Switch Hosts, API Endpoints)
Modify Headers
Modify Request Body
Modify Response Body
Modify Query Params
Modify Cookies
Modify DOM/Inject scripts
Modify User Agents
Delay Request
Cancel Rule
Organizing Rule
Import/Export Rules from File
Pause/Resume Requestly
Rule Operators
Advance Targeting
Sharing Rules
Map Local
Map Remote
Pinning Rules
GraphQL Support
Edit and Replay
Import Setting from Charles Proxy
Test URL Condition
Test this Rule
File Server
File Server
Sessions Replay
Sessions Replay
Getting Started
Getting Started
Installation
Installation
HTTP Rules (Modify Traffic)
HTTP Rules (Modify Traffic)
Overview
Redirect URL (Map Local, Map Remote)
Replace Strings (Switch Hosts, API Endpoints)
Modify Headers
Modify Request Body
Modify Response Body
Modify Query Params
Modify Cookies
Modify DOM/Inject scripts
Modify User Agents
Delay Request
Cancel Rule
Organizing Rule
Import/Export Rules from File
Pause/Resume Requestly
Rule Operators
Advance Targeting
Sharing Rules
Map Local
Map Remote
Pinning Rules
GraphQL Support
Edit and Replay
Import Setting from Charles Proxy
Test URL Condition
Test this Rule
File Server
File Server
Â
Redirect URL (Map Remote & Map Local)
Redirect Rule helps in changing the HTTP Requests location to a new destination as per the configured rule, so that the response is transparently served from the new location as if that was the original request.
Configuring Rule
- Source Condition: Source condition is where you set criteria for which requests will match the. You can useÂ
URL
,ÂHost
 orÂPath
 withÂRegex
,ÂContains
,ÂWildcard
 orÂEquals
 to match the source request. Learn more about source conditions here.
- Destination URL: The destination to which the users will be redirected to based on the source condition.
- Source Filters: You can define advanced targeting conditions and restrict rules to be applied on specific request types, request methods, or request payload. Learn more about source filters here.
Demo

Testing Rule
- To test if the rule is properly configured or not, use theÂ
Test this Rule
 feature in the bottom of the Rule Editor. This can help you verify if the source conditions are matching to the URL you want to test or not.
Popular use cases
- Redirect Production to Local Environment: Map your production scripts or APIs to your local running code and test your local code directly on production sites without deployment. Here's an article with more explanation.
- Redirect to local System files (Map Local): With Map Local feature, you can directly replace the production scripts with the local files. Any change in the local files will be instantly reflected on production. You can find more details here.
- Test API version changes:Â Suppose there is a new version of some API which you are using. To test the backward compatibility of the API, you can just set up a redirect rule to redirect all URLs from the older version to the newer version and check if your application behaves as expected. This way, you don't need to change a single line of your code and test the API upgrades.
- Fix Broken URLs, Redirect dead bookmarks, and Create URL shortcuts:Â You can setup a redirect rule to fix some broken URLs, redirect the dead bookmarks to new working bookmarks and create URL shortcuts.
- Swap Tag Manager scripts from production to staging/dev environment: Test your dev implementation in tag manager scripts like Adobe DTM, Tealium Tag, Google Tag Manager Containers before pushing them live on client websites. Learn more here.
Examples
FAQs
Check if Rule executed or not?
Use this guide to check if the rule executed or not.
Can I redirect https URL to http URLs?
Yes, Redirect Rule supports redirecting from https to http and vice-versa.
Can it redirect to a local file?
Right now this is not possible in Browser Extension. But you can use our desktop app to redirect to a local file (Map Local).
Â
Â