Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am making a very simple document library. Sharepoint foundation 2010

I have a number of countrys sites, displayed as tabs at the top, each site contains 1 document library.

I would like to click the country site tab and then the document library opens. I dont want users to have to click the document library quick link on the left, I intend on hiding this.

The only way I have got this working is to edit the site default page and add edit the page and then add the document library as a webpart. However this causes other issues.

There must be a way the the site opens directly to a doc library page?? any options?


share|improve this question

2 Answers 2

up vote 2 down vote accepted


I hope 1 of the options given in this article should help you:
SharePoint: How to change the default home page

Powershell method looks promising for you, because you have SharePoint Foundation, below is taken from the link above:

Via PowerShell: For SharePoint 2010:

$site = Get-SPSite http://yourserver/sites/yoursite
$web = $site.RootWeb
  (or $web = $site.OpenWeb("yoursubsite")
$folder = $web.RootFolder
$folder.WelcomePage = "SitePages/home.aspx"
  (or  $folder.WelcomePage = "default.aspx")
  (or  $folder.WelcomePage = "Shared%20Documents/mycustomwebpartpage.aspx")

I hope this helps

share|improve this answer
Thanks .. the first link pointed me in the right direction. I opened the site in designer, found the relevant file for the document library in each site (allitems.aspx) then right clicked and 'set to homepage' – kev Nov 28 '12 at 15:38
Good to know it helped ! – Arsalan Adam Khatri Nov 28 '12 at 16:07

Welcome to Sharepoint StackExchange and yes this is possible.

What you need to have is publishing turned on which is a standard feature, this needs to be turned on as a feature for the site collection "Publishing Infrastructure" and at the site level "Publishing"

Once these are turned on under "Site Actions > Site Settings > Look and Feel" you will get a new option called "Welcome page". You paste the url you want as the sites landing page in here and hey presto it will become the default home page.

You can also now edit the Navigation and make things a little more user friendly.

share|improve this answer
Publishing feature is only available in SharePoint Server 2010 standard and enterprise, and not in foundation. – Arsalan Adam Khatri Nov 28 '12 at 14:51
Hi Arsalan, I was aware of that, but I bolded standard feature in my text just in case. – Hugh Wood Nov 28 '12 at 14:55
Thanks Arsalan, yes I am only on foundation! Shame, I prefer to use the out of the box features. I will look at your alternatives... – kev Nov 28 '12 at 15:01
Thanks hugh for the fast response, but not helpful seeing as I am using foundation. Cheers anyway – kev Nov 28 '12 at 15:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.