November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
A few simple ways:
- go to edit mode and set your startpage to be a Shortcut to any other page (will redirect every time someone visits your startpage - not recommended)
- put some logic in the OnInit/OnLoad methods in default.aspx to do a custom redirect or show a splash/popup if condition X is true.
You should also be aware that redirecting from the startpage might lead to URL confusion for search engines unless you properly handle your HTTP status codes.
The safest way is for sure to put some logic in the OnInit/OnLoad methods in default.aspx as Arild says.
I did something once where a cookie was used to only show a splash screen once. You could easily have the splash as the default view always and act on a ?unsplash querystring parameter or similiar as an example of "X is true".
Hi,
When a user visits the bare domain url for an episerver site (CMS6R2), that is for example http://www.myepisite.com the default behaviour seems to be to redirect the user to the site defined as startpage in episerver.config. Is there anyway to override this behaviour, if I for example want to show a splash screen or do custom redirect?