The page always redirects to _Layouts/15/Start.aspx#/SitePages/MyPage.aspx - SharePoint 2013 (Minimal Download Strategy Feature)


Sathish Nadarajan
SharePoint MVP
Published On :   22 Apr 2014
Visit Count
Today :  3    Total :   27536
Plan, Migrate, Secure, Report
SharePoint & Office 365 Tool. Simple & Easy to Use. 15-Day Trial!

SharePoint Office 365 Tool
Simple & Powerful Tool for Migration, Security & Reporting. Free Trial


Recently I noted a strange (default) behavior of SharePoint 2013 that it sometimes redirects to the Start.aspx everytime, before navigating to the expected page.

i.e., Let me explain the scenario little bit clear. I created a brand new site collection and I created some site pages on it. When I try clicking those site pages link from my landing page, it always redirects to the URL as below.

http://MySiteCollection/_Layouts/15/Start.aspx#/SitePages/MyPage.aspx and from there it is again redirecting to http://MySiteCollection/SitePages/MyPages.aspx

This is not affecting directly. But obviously when I create some master page and on that, I was doing some code on the Javascript. Actually am expecting some div content to be handled on the Master Page Javascript. At that time, Since for the _Layouts Pages, I haven’t applied the custom master page. i.e., 2 different master pages for the SitePages and the System Pages, then obviously the problem comes.

 

image

 

In the above screen shot, the Site master Page is a different one. And the System Master Page is a different one.

Obviously when the page redirects, first the System Master Page applies (Since start.aspx is getting loaded), then the Site Master Page applies. This causes some problems and I thought of get ride this.

To do that, a simple work around is, DeActivate a Site Feature.

image

The feature is “Minimal Download Strategy”.

When I De-Activate this feature and try navigating to different pages, then the start.aspx is not coming into picture and the page loads properly.

This problem, many people would have not faced. But, when it comes, it really helps a lot.

Happy Coding.

Sathish Nadarajan.

SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Categories

KWizCom Touch