Redirect
Description
This will redirect the browser to the specified page or URL.
Heads up: Macros may not available in Confluence upon installation
There is a known issue in Confluence Cloud (CONFCLOUD-58280) which prevents new macros from appearing in Confluence. Refer to this knowledge base (KB) article for recommended workarounds.
The screenshot below shows the Cloud version.
Parameters
Name | Required | Available In | Migratable to Cloud? | Default Value | Description |
---|---|---|---|---|---|
Location | Yes | Server, Cloud | Yes | Specifies the Confluence page or URL to redirect to. For example:
| |
Confluence Attachment | Optional | Cloud | Yes | The attachment to redirect to, which belongs to the specified Location. For example:
This is for Cloud version only. To redirect to an attachment on the Server version, refer to the example in the Location parameter. | |
Delay | Optional | Server, Cloud | Yes | 0 (Server), 5 (Cloud) | The number of seconds to delay before redirecting the browser. |
Visible | Optional | Server, Cloud | Yes | true | Select whether the information panel should be visible to the user or not. |
Editor View
Notes
- This macro does not keep track of whether the page being redirected to has had its name changed.
- To edit a page which redirects instantly, add '?redirect=false' to the URL manually.
- This macro uses JavaScript to redirect, so browsers with JavaScript turned off will have to click through manually.
- On the Cloud platform, some browsers (e.g., Chrome) may attempt to block the redirect. If this happens, you will need to click the Pop-up Blocked icon in the address bar and configure the browser to always allow redirects for your Confluence site.
- On the Cloud platform, you may be prompted to allow a redirect due to Atlassian's security policies. You may see a popup about "Redirection Notice". You will need to click Allow for the redirect to continue.
Tutorial Examples