Whenever a user visits my Umbraco site, I would like them to be redirected to a 'coming soon' page except if they are visiting from a particular IP address. I know there are a number of ways of achieving this but I was wondering if there's a native Umbraco method for this?
I would want it to be robust enough that if they tried any variation of the url eg. website.com/fred it would still just send them to the coming soon page.
Always redirect to coming soon page
Whenever a user visits my Umbraco site, I would like them to be redirected to a 'coming soon' page except if they are visiting from a particular IP address. I know there are a number of ways of achieving this but I was wondering if there's a native Umbraco method for this?
I would want it to be robust enough that if they tried any variation of the url eg. website.com/fred it would still just send them to the coming soon page.
Thanks, Martin
Hi Martin,
There is no such method in Umbraco. The best way is to write custom httpModule I think.
Thanks
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.