Monday 10 February 2014

Disabling SharePoint 2010 mobile redirection


SharePoint 2010 has a mobile redirection feature that automatically redirects users accessing the SharePoint site from a mobile browser to the mobile view. While this redirection is useful for intranet sites it is not desirable for public internet sites with custom branding. There is no setting available in the site settings or central admin site to turn off the mobile redirection. To turn off the mobile redirection we need to modify the web.config to include browsercaps section with isMobileDevice flag to false.  The browser caps section should be added within the system.web element.

<browserCaps>

<result type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

<filter>isMobileDevice=false</filter>

</browserCaps>

No comments:

Post a Comment