Fix SharePoint Site 404 Errors at the Root URL
Question details
The user needs to fix a SharePoint site that displays a 404 error when accessed via its root URL, despite the home page loading successfully via a direct .aspx link.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Accessing a SharePoint site from the Sites list or root URL directory.
- Observed behavior
- The root URL returns a 404 Not Found error, but appending the exact page path (like /SitePages/Home.aspx) loads the site successfully.
Ensure you have Site Owner or SharePoint Administrator permissions to access the SitePages library and modify page settings.
Verify and Reset the Homepage in Site Pages
Manually checking the page layout type and resetting the homepage mapping often resolves root URL routing failures.
A 404 error at the root URL typically means SharePoint has lost the reference to the default welcome page. By navigating directly to the backend library, you can force the system to recognize the correct .aspx file as the homepage.
Open your SharePoint site using the direct link that works (e.g., ends in /SitePages/Home.aspx). Click on the gear icon (Settings) in the top right corner and select 'Site contents', then open the 'Site Pages' folder.
Locate the designated home page file (e.g., Home.aspx). Check its properties to confirm that the 'PageLayoutType' is valid, such as 'Home' or 'Article'.
Select the page by clicking the checkmark next to its name. Click the three vertical dots (Show actions) next to the file name, and select 'Make homepage' from the dropdown menu to refresh the root URL routing.

Submit a Support Ticket in Microsoft 365 Admin Center
If the manual homepage reset does not fix the 404 error, the issue may require backend investigation by Microsoft support.
Collaborate Seamlessly with WPS Office
While troubleshooting complex SharePoint routing issues, ensure your team's document collaboration remains uninterrupted. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, featuring built-in cloud sharing without requiring complex server configurations.
- 1. Download and Install: Visit the official WPS website to download and install WPS Office for free on your device.
- 2. Sign In to WPS Cloud: Create or log in to your WPS account to access your free cloud storage space.
- 3. Upload and Share: Upload your documents to the cloud and generate a sharing link to instantly collaborate with team members.

Frequently Asked Questions
Why does my SharePoint site URL need the .aspx extension to work?
This usually happens when the site's welcome page mapping is broken or the page layout type is incorrectly configured. As a result, the server fails to automatically route the clean root URL to the default .aspx page.
How do I change the default home page of a SharePoint site?
Navigate to 'Site Contents', open the 'Site Pages' library, right-click the page you want to use as the new home page (or click the three vertical dots), and select 'Make homepage'.
Can a deleted home page cause a 404 error on the root URL?
Yes. If the specific .aspx page designated as the site's home page is deleted, renamed, or moved from the Site Pages library, any visitor navigating to the root URL will encounter a 404 Not Found error until a new home page is assigned.




