Thursday 22 May 2014

How can we change a default page from SitePages/home.aspx to pages/default.aspx and all new pages created should go to pages library?

When a site is created using a team site template or wiki site template, by default the pages and site home page will be created under SitePages library.

In order to change the path from sitepages/pagename.aspx to pages/pagename.aspx, we need to do the following steps:

1) Activate "Sharepoint Server Publishing" site feature

2) Go to SiteActions -> View All Site Content -> Go to pages library-> Create a page and name it as "default.aspx"

3) From the pages menu -> select make it as home page, so that when we open the site with site URL automatically it opens the http://siteurl/pages/default.aspx instead of http://siteurl/sitepages/home.aspx.

Note: If we want any new pages that we create to go to pages library instead of sitepages we need to delete the sitepages library, so that any new page creation will directly be created under pages library.


No comments:

Post a Comment