Fix a SharePoint Online Hub Site Returning a 404 Error
Question details
The user needs to restore access to a hub-connected SharePoint communication site that returns a 404 error.
- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- A modern communication site connected to a hub is opened directly from its URL or the SharePoint Admin Center.
- Observed behavior
- The site returns a 404 error even though it remains listed under Active sites and contains files.
Confirm the site's exact URL under SharePoint Admin Center > Sites > Active sites. Use an account with site collection administrator access to inspect and restore deleted site content.
Restore the deleted SharePoint Home page
Check for a deleted Home page when the site is active but its root URL returns 404.
An active site can still return 404 if its designated Home page has been deleted. Restoring the Home page resolved the issue in the reported case.
Append /_layouts/15/RecycleBin.aspx to the site URL and open it in your browser. For example, use https://contoso.sharepoint.com/sites/example/_layouts/15/RecycleBin.aspx.
Look for Home.aspx or the site's designated home page in the Recycle Bin, select it, and choose Restore.
If the page is not listed, select Second-stage recycle bin at the bottom of the Recycle Bin page. Select the deleted page and choose Restore.
Open the site's root URL again. If the page is restored but is not the home page, open the Site Pages library, select the page, and use the ellipsis menu > Make homepage if that option is available.

Verify the site URL and check SharePoint service health
Use these checks if restoring the Home page does not resolve the error or no deleted page is found.
Edit Office documents with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working on Office files. Open existing documents for a smooth transition between office suites. WPS does not repair SharePoint site errors.

Frequently Asked Questions
Why does an active SharePoint site return a 404 error?
The site can remain active even if its designated Home page has been deleted or moved. An incorrect URL or a service issue can also cause a 404. Check Sites > Active sites in the SharePoint Admin Center, then inspect the site Recycle Bin.
How do I open the Recycle Bin if the site home page is unavailable?
Append /_layouts/15/RecycleBin.aspx to the site URL and open it in a browser. Use an account with appropriate access, such as a site collection administrator account.
What if the Home page is not in the first Recycle Bin?
Select Second-stage recycle bin at the bottom of the site Recycle Bin page. If the page is listed, select it and choose Restore. If it is absent from both bins, contact Microsoft support about recovery options.
How can I check whether the whole site was deleted?
Open SharePoint Admin Center > Sites > Deleted sites and search for the site. If it is listed, select it and choose Restore. A site listed under Active sites may instead have a missing page.




