Options to disable the SharePoint 2010 Mobile View/Redirect

1. Modify the web.config file to add the following 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>

2. Modify the compat.browser file, located at C:\inetpub\wwwroot\wss\VirtualDirectories\[port-of-your-site]\App_Browsers and change  the isMobileDevice compatibility tag to false.

<capability name=”isMobileDevice” value=”false” />

3. Disable MobilityRedirect SP Feature if it’s ON. (run command from powershell)

Disable-SPFeature -Identity MobilityRedirect -Url http://yoursite

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s