Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Antony Wong 14 posts 43 karma points
    Sep 18, 2014 @ 13:08
    Antony Wong
    0

    Umbraco Redirect Display Popup Banner

    Hi

    Does anyone know how I can display a popup div from an Umbraco redirect?

    E.g - Old Site redirects you to new site but prompting the user why the redirect happened. However, this should only happen on a specific host name.

    I have set up the redirects but cant think of a way to achieve this.

    Please help.

    Thanks

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Sep 18, 2014 @ 13:35
    Lee Kelleher
    0

    Hi Antony,

    The banner/notification would need to be hosted on the redirected page/site... you could have some code to check the value of Request.ServerVariables["HTTP_REFERER"], so detect if the visitor came from the old page/site.

    Of course, you'd need to maintain a list of the original redirects from the old site - maybe a config file or database table?

    Cheers,
    - Lee

Please Sign in or register to post replies

Write your reply to:

Draft