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?
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
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
is working on a reply...