Saturday 12 April 2014

How to set subsite page as main site home page

In SharePoint it’s easy to set main site homepage from main site itself.
But today I want to set my main site homepage using my sub-site webpage.

Solution:

    1) After little bit googling I am getting one of the way, we need to change the web.config file of SharePoint.
    2) To open web.config go to C:\Inetpub\wwwroot\port_number.
   3) Open web.config file and add following lines of code under system.web tag.

<urlMappings enabled="true">

<add url="~/" mappedUrl="/subsite/SitePages/Page.aspx"/>

</urlMappings>


Feel free to revert in-case of any query...


Product Applies To:

·         SharePoint Server 2010

·         SharePoint Foundation 2010

No comments:

Post a Comment