SharePoint Document Issues

Fix SharePoint Site 404 Errors at the Root URL

Anum MushtaqAnum Mushtaq Oct 23, 2026 869 views

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.

How to Fix SharePoint Site 404 Errors at the Root URL
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.
Before you start

Ensure you have Site Owner or SharePoint Administrator permissions to access the SitePages library and modify page settings.

Solution 1Recommended

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.

1
Navigate to the SitePages library

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.

2
Check the PageLayoutType

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'.

3
Set as homepage

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.

Verify and Reset the Homepage in Site Pages
Routing Restored: Once set, navigating to the root URL (e.g., /sites/Marketing/) should automatically redirect to the designated home page without the 404 error.
Free Microsoft Office alternative

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. 1. Download and Install: Visit the official WPS website to download and install WPS Office for free on your device.
  2. 2. Sign In to WPS Cloud: Create or log in to your WPS account to access your free cloud storage space.
  3. 3. Upload and Share: Upload your documents to the cloud and generate a sharing link to instantly collaborate with team members.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Built-in WPS Cloud storage for easy and secure document collaboration.Lightweight application with a familiar UI, ensuring seamless team migration.Zero complex server administration or URL routing configurations required.
microsoft office alternative - wps office

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.