1. Home
  2. Knowledge Base
  3. How To's
  4. You are being redirected message – How To

You are being redirected message – How To

If you'd like your user's to see a brief message about being redirected before you redirect them on to the final target URL. You can do that by following the steps below.

First you'll need to edit or create your Pretty Link.

Under the Basic tab, be sure the “Redirection” is set to Meta Refresh or Javascript. This will only work with these two redirection types.

Under the Advanced tab, be sure to set the “Delay Redirect” to 3-5 seconds. This is how long the users will see your message before being redirected.

And finally under the Pro tab, you'll copy/paste the following javascript into the “Head Scripts” box.

<script type="text/javascript">
  window.addEventListener('load', function() {
    var content = "<p>You are being redirected...</p>";
    document.getElementsByTagName('body')[0].innerHTML = content;
  })
</script>

You can change the You are being redirected… part if you want to change what the message says.

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support