1) Run command below to connect to your SharePoint site, sign in SharePoint administrator or Office 365 administrator account and password in the prompt window: Connect-PnPOnline https://yourtenant.sharepoint.com/sites/yoursitename. 2) List all pages, and find the ID of your site page which you want to set as home page., When you type in a URL and go to a site, you will land on one page that is the set homepage of a site. On modern SharePoint sites this page is not shown in the URL, however if you have a classic site, you might see /sitepages/home.aspx at the end of the site URL. So how do you change it?, You can modify the Site Pages URL via PowerShell. Note: Once modified, you will not be able to access the url of the original site ( ), you can only access it through the new url ()., With SharePoint 2003 and SharePoint 2007 the default home page is a default.aspx page located in the root folder of your site. This legacy method of setting the home page makes it difficult to understand where the file is located and how to migrate it by itself., Want to change your homepage in SharePoint Online? Look at this guide, which covers using PowerShell or the web browser to set up a home page!, However, when a user simply navigates to https:// {mydomain}.sharepoint/com, the following Intranet page is loaded: https:// {mydomain}.sharepoint.com/SitePages/Home.aspx ..