Response Redirect is a user control that can be used to redirect the request to a specified URL based on the presence of certain keywords in the user agent. This scenario can be used to detect and redirect mobile browsers to a mobile friendly Sitefinity website.
Also, the redirect can be performed for all requests (no user agent-based filtering). This scenario is useful when all requests need to be temporarily redirected to a different URL, e.g. promotion / campaign pages.
The control can be used in a cascading manner on the same page as demonstrated below:A BlackBerry
- Browser is redirected to the mobile website by the first control instance that is configured to redirect a request if the user agent contains "blackberry".
- A mobile browser that's not supported, e.g. UP.Browser on a Nokia phone, is redirected to a different phone-friendly page by the second instance of the Response Redirect Control.