Set Default Home Page in SharePoint 2016
Requirement: Change the Home page in SharePoint.
How to Change the Home Page in SharePoint?
The Home page is always the first thing people see when they visit your site. It’s a common requirement in SharePoint to change its home page to some customized one. Changing the home page is a quick and easy process and can be completed in just a few steps. In this blog post, we will be walking through the steps on how to change your home page in SharePoint 2013 / 2016:
Change the default home page on SharePoint Team sites:
To set the default page for the SharePoint site, do the following:
- Navigate to your desired page
- Click on the “Page” tab, and click on the “Make Homepage” button from the ribbon.
- Confirm the “If you make this page the home page for this site, users will no longer be able to see the old site home page. Do you want to set this page as this site’s home page?” message box.
- Done!
SharePoint 2013: Set default home page on Publishing sites
The above method works for Publishing sites also. However, there is another method too!
- Navigate to site settings >> Click on the “Welcome Page” link under the “Look and Feel” section.
- Enter the home page URL either directly or by clicking on the “Browse” button and choosing the right page.
- Click on “Ok” to save your changes.
Using SharePoint Designer to change the home page in SharePoint
To change the home page in SharePoint 2013 with SharePoint designer, follow these steps:
- Navigate to the “Site Pages” library, or any other library where your target page exists
- Right-click on the page and choose the “Set as Home page” menu item from the context menu. Alternatively, you can use the Ribbon button also, as highlighted.
Set the home page programmatically in SharePoint 2016:
If you want to set the home page programmatically, Here is how to change the home page using PowerShell:
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
#Variables
$WebURL="https://intranet.crescent.com"
$HomePageURL="SitePages/default.aspx"
#Get the Web
$web = Get-SPWeb $WebURL
#Change Welcome page
$RootFolder = $Web.RootFolder
$RootFolder.WelcomePage = $HomePageURL
$RootFolder.Update()
$web.Dispose()
If you want to set the home page for SharePoint Online, refer: How to Change the Home Page in SharePoint Online?
Hi Salaudeen,
Thanks for this great blog post. I have a question. I accidentally made a root site in SP2016 “homepage”. Unfortunately there is a little text that is always being displayed between the global navigation and the first web part at the top part of the site. Is there any way to get rid of that little text (saying “homepage”) or a way to revert the setting “homepage”? Also, the site layout (being able to choose between on column or more, have a header or not) also seems to have been deactivated after I’ve made a “homepage”.
Is there any way to fix the other two issues, without reverting the “homepage” setting? Or even better is there a way to revert the setting “make this site a homepage”.
Thanks
Franz