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

Sathish Nadarajan
 
Solution Architect
April 22, 2014
 
Rate this article
 
Views
46839

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.

Author Info

Sathish Nadarajan
 
Solution Architect
 
Rate this article
 
Sathish is a Microsoft MVP for SharePoint (Office Servers and Services) having 15+ years of experience in Microsoft Technologies. He holds a Masters Degree in Computer Aided Design and Business ...read more
 

Leave a comment