Redirects

There are two ways to create redirects in Typewriter.


Navigation Redirect Link

If you want to add an external link to your navigation you can create an empty page and then redirect users to another website. You might use this technique to add Apply Online to your menu and then link to an off-site application page (eg. CampMinder).

Go to Page Settings, click Advanced, and paste in the following. Replace page-url with the page you want to redirect people to (eg. https://apple.com/support).

<script>window.location = "page-url";</script>
<meta http-equiv="refresh" content="0;URL='page-url'">

It’s also a good idea to add a text block to your page with a friendly statement telling people that they’re being redirected and giving them a link in case they are not redirected. Typically people do not ever see the text or link because the redirect should happen instantly.


Branded URL

A Branded URL can be used to create a short link from your website. You might use this technique after you add a file to give users an easy URL to remember, like https://gotypewriter.com/free-download.

If you want to create a branded link to share a URL, click on Redirects on the bottom of the Typewriter Dashboard. Click the New Redirect button in the top right. Enter the desired path into Match. Entered the destination URL into To.

Match: /free-download

To: https://d1b48phb7m9k7p.cloudfront.net/u/27a1c04d-6a1f-4555-b520-bb45826f6c5e/fi/pdf/1615/My-Important-Document.pdf

Typewriter will redirect from the Match above to the URL you specified in the To field. The final Branded URL will look like this.

Branded URL: https://yourdomain.com/free-download

Notes

  1. Do not include https://yourdomain.com in the Match field.
  2. Do not create links that are the same as existing page names
Typewriter redirect.png?ixlib=rails 2.1

More How Tos

Markdown Text Formatting

How To

Markdown Text Links

How To

Email & Phone Links

How To

Add Files to Your Page

How To

Redirects & Branded URLs

How To

Create a Hidden Page

How To