> For the complete documentation index, see [llms.txt](https://bubble.digital-bird.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bubble.digital-bird.com/plugins/conditional-redirect.md).

# Conditional Redirect 🔀

Plugin redirects to an external URL when a certain event happens

## 🔗 Links

> [Demo](https://digitaleyedemo.bubbleapps.io/redirect) | [Editor](https://bubble.io/page?type=page\&name=redirect\&id=digitaleyedemo\&tab=tabs-1)

> [Plugin page](https://bubble.io/plugin/conditional-redirect-1618602673883x571754493077880800)

> [Forum](https://forum.bubble.io/t/plugin-release-conditional-redirect/146695)

## ℹ️ Introduction

This is a small straightforward plugin having 2 modes to conditional redirect to an external URL.

## 🔥 Features & Documentation

### ➡️ Mode 1

Plugin action that can be used in Workflow when a certain event happens. Ex.: Redirect to an external URL if current URL contains a certain substring.

![](https://721213748-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MXfye6lH1Q5_SG7txj-%2F-MYRTEOaMBBGCHVGBmp0%2F-MYRTPwrO1q-t4JC9bl4%2Fimage.png?alt=media\&token=70704240-604d-4f76-acde-ecce91b2021c)

### ➡️ Mode 2

Element "Redirect". Add it to your page and provide "Condition" and "URL" fields. Once "Condition" becomes true, you will be redirected to provided URL.

![](https://721213748-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MXfye6lH1Q5_SG7txj-%2F-MYRTEOaMBBGCHVGBmp0%2F-MYRTW33NQCjcoRLJ2uY%2Fimage.png?alt=media\&token=5025a76e-8aed-432e-9a54-f6c105fa0a8b)

Check the demo for a better understanding.
