Monday, November 4, 2013

Disable mobile page redirection for SharePoint 2013



In this post we will discuss how we can disable mobile page redirection for SharePoint 2013. Also you can check my previous posts on:

- Difference between Apps and Solutions in SharePoint 2013

- Features removed in SharePoint 2013

- Audio and Video content type in SharePoint 2013

If you want to check how to disable Mobile access in SharePoint 2010 click here.

In SharePoint 2013, when ever a request comes from a mobile devices then it will automatically redirect to a different page (mblwp.aspx). The page is presented in _layouts\Mobile\mblwp.aspx.

If you want to disable the redirection then we need to modify in the web.config file.

First Open web.config file of the SharePoint web application and inside <system.web> write below lines of code:

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

Now automatic mobile redirection will be disabled.


0 comments:

Post a Comment

Twitter Delicious Facebook Digg Favorites More