Zephr User Guide

Redirects

0 views 0

Whilst Features target a specific Feature within a page of your site, Redirects allow you to transform a whole request and the response that request results in.

You may wish to use Redirects to alter headers, modify responses, change status responses, or redirect users to a different page. Common examples of Zephr Redirects include redirecting users to a paywall, log in or registration page, as well as blocking user access to downloadable content they are not entitled to.

Your list of Zephr Redirects is available to view by navigating to Delivery > Redirects within your Zephr Admin Console.

The list of Redirects details the Redirect Title, Latest and Live Versions of each Redirect, as well as a series of Actions detailed below.

Creating and Managing Zephr Redirects

To add a new Redirect, click the Add A Redirect Rule button.

Name your Redirect and, if relevant, provide a short description. We recommend naming the Redirect as simply as possible. For example, if you are creating a rule for how users interact with downloadable content, then name your Redirect ‘Download’.

If relevant, add the URL path match for the rule, or the HTTP method match.

Set the Priority for your rule – this will determine the weight given to each of the Redirect Rules.

Using the Rules Builder

The Zephr Rules Builder is where you decide what your site visitors see.

Across the top, you will note a slider for Anonymous and Registered user types. Toggling between these will give you a blank rule canvas to build a bespoke journey for that user type.

The Rules Builder also has a decision bar, detailing the different decision points and responses available to use, and a rule canvas.

Each journey begins with a Page View Node, signifying when a user views a page relevant to your Zephr Redirect. To build your user journeys, drag decisions from the top decision bar onto your rule canvas and join the dots to build your user journeys.

If you’re still learning the array of options available to you within Zephr, take a read of our Redirect Decision Points guide, and our Customising Headers and Body Responses guide.

When you’ve built journeys for each of your user types, click Save.

Managing your Redirect

Zephr Rules are versioned, so once you’ve saved your Redirect, you will be taken to a page detailing any versions of this Redirect that are available to publish.

Redirect Rules - Versioning

Click the version number to view or edit any of these rules, or click Add a New Version to alter the most recent rule version available. Edited rules will always save as new versions, so there’s no need to worry about losing old versions.

If you wish to delete a version, click the Delete button next to the relevant version number.

Publishing your Redirect

Your Redirect’s version page also provides information on which of your rule versions are currently in Staging or Published to your live site.

Published rules are tagged as Live in the Status column, versions in Staging are tagged as Staged, and versions which have previously been Live have a status of Previously Published.

To publish a rule, you will first need to promote it to Staging. To do this, click the Stage button in the Actions column, next to the relevant version.

When you’re happy with your rule in Staging, click Publish, and we’ll make your rule Live. Only one version per Redirect can be made live at one time.