Forum Discussion
Restore SharePoint.aspx homepage
- AndrewXDec 18, 2017Iron ContributorWe currently have another page set as Home. When we type domain.sharepoint.com we are taken to our custom home page.
I want users to be taken to Sharepoint.aspx instead.- ReinoutSegersDec 19, 2017Copper Contributor
When users type in the domain directly (https://<domain>.sharepoint.com) they are taken to the homepage of the portal site, not SharePoint.aspx. This is the default behaviour of SharePoint Online.
Unfortunately, you cannot set the homepage to SharePoint.aspx using the GUI or CSOM/PnP. To achieve something similar, you'll have to turn on scripting, built a JavaScript redirect webpart in a different page and set that as the homepage.
To change the homepage of the portal site, head over to: https://support.office.com/en-us/article/Change-the-home-page-on-a-SharePoint-classic-site-35A5022C-F84A-455D-985E-C691AB5DFA17
- Norman YoungMar 15, 2019MVP
Hi AndrewX,
Using SharePoint Designer you can add HTML redirect code to the root site landing page to point to the SharePoint.aspx page.
I hope this helps.
Norm
- Dec 18, 2017How did you manage to set a default SPO page different that the SPO landing page provided by Microsoft?
- AndrewXDec 19, 2017Iron ContributorI guess what i am describing is what Reinout said, namely that when i go to https://<domain>.sharepoint.com i am taken to my portal site, where i wish i would be taken to SharePoint.aspx. If this is not possible then case closed.