---
title: "Redirecting traffic based on target audience"
canonical: "https://support.appfire.com/space/VISS/478774167/Redirecting%20traffic%20based%20on%20target%20audience"
format: markdown
---
> Macro (aura-html)

If you have a global homepage in Confluence, you can automatically redirect a group of users to their respective landing pages. In this example, we will set a redirect for marketing team members to their marketing landing page using Visibility and Redirection. 

## Ingredients

| Apps | Visibility, Redirection |
| --- | --- |
| Macros | Hide If |

## Steps

1. Create a [Hide If](https://appfire.atlassian.net/wiki/x/voOJH) macro on your global landing page.
2. When the **Insert 'Hide If' macro** dialog box appears, choose the user(s) or group(s) you intend to target and click **Insert**.
  
3. Within the macro, add a [Redirect](https://appfire.atlassian.net/wiki/x/_oEqH) macro.
  
4. Upon inserting the macros, you will have a structure that looks like this:
5. When you save the page, the group members viewing the landing page will be redirected automatically. You might also want to repeat steps 1 to 3 for other groups.