How to Fix Error 404 File Not Found for an Existing Page
🔍 WiseChecker

How to Fix Error 404 File Not Found for an Existing Page

You see a 404 File Not Found error when you try to open a page that you know exists in SharePoint. This usually happens because the page URL changed, the page was moved to a different location, or the site structure was modified. The page file still exists, but SharePoint cannot locate it at the requested address. This article explains why the 404 error appears for an existing page and provides step-by-step methods to restore access.

Key Takeaways: Fixing a 404 on an Existing SharePoint Page

  • Site Pages library > Check page URL: Verify the page file still exists and has not been renamed or deleted.
  • Site Contents > Recycle Bin: Restore a page that was accidentally deleted and still recoverable.
  • Site Settings > Navigation: Update broken navigation links to point to the correct page URL.

ADVERTISEMENT

Why a 404 Error Occurs for a Page That Exists

A 404 error means the server cannot find the resource at the requested URL. For a page that you know exists, the cause is rarely a missing file. Instead, the problem is a mismatch between the URL the browser is requesting and the actual URL of the page file in the Site Pages library.

Common Causes

The page file may have been moved to a subfolder within the Site Pages library, which changes its URL. A user may have renamed the page, causing the old URL to break. The page could be in the site Recycle Bin after deletion. Navigation links or hyperlinks pointing to the page might still use the old URL after a site restructuring. In rare cases, the page file is corrupted or the site collection has permission issues that block access.

How SharePoint Stores Pages

Modern SharePoint sites store wiki pages and web part pages as files in the Site Pages library. The URL of a page matches its file name and folder path. For example, a page named “Project-Status.aspx” stored in the root of Site Pages has a URL like /sites/YourSite/SitePages/Project-Status.aspx. If the file is moved to a subfolder called “Archive,” the URL becomes /sites/YourSite/SitePages/Archive/Project-Status.aspx. Any link still pointing to the original URL will return a 404.

Steps to Diagnose and Fix the 404 Error

Method 1: Verify the Page Still Exists in the Site Pages Library

  1. Open the Site Pages library
    Go to your SharePoint site. Click Settings (gear icon) and then Site contents. Click the Site Pages library.
  2. Search for the missing page
    In the search box at the top of the library, type the page name or part of it. If the page appears, note its current file name and folder path. If the page is in a subfolder, click into that folder to confirm.
  3. Compare the URL
    Right-click the page file and select Copy link. Paste it into a text editor. Compare this URL with the one that is generating the 404 error. If they differ, update any links or navigation items to use the new URL.

Method 2: Restore the Page from the Recycle Bin

  1. Open the site Recycle Bin
    From the Site contents page, click Recycle Bin in the left navigation menu.
  2. Find the deleted page
    Look for the page file. The Recycle Bin shows files deleted within the last 93 days. Use the search box if the list is long.
  3. Restore the page
    Select the page and click Restore. The page returns to its original location in the Site Pages library. Test the URL again.

Method 3: Update Navigation Links

  1. Open site navigation settings
    Click Settings > Site contents > Site navigation.
  2. Edit the broken link
    Find the navigation item that points to the page. Click the pencil icon next to it. In the Link field, paste the correct URL from the Site Pages library. Click Save.
  3. Clear the browser cache
    Press Ctrl+F5 in your browser to force a refresh. Test the navigation link.

Method 4: Check Permissions on the Page

  1. Open page permissions
    In the Site Pages library, select the page file. Click the ellipsis (three dots) and choose Manage access.
  2. Verify unique permissions
    If the page has unique permissions, ensure the user or group seeing the 404 error has at least Read access. If permissions are inherited from the site, check the site-level permissions.
  3. Grant access if needed
    Click Add people and type the user or group name. Assign the Read permission level. Click Share.

ADVERTISEMENT

If SharePoint Still Has Issues After the Main Fix

404 Error Appears Only for Specific Users

If some users can access the page and others see a 404, check the page permissions. The page may have unique permissions that exclude certain users. Also verify that the affected users are members of the site and not just visitors. Visitors can view pages but may not have access if the page is restricted.

Page URL Contains Special Characters or Spaces

SharePoint encodes special characters and spaces in URLs. If a page name includes characters like &, %, or #, the URL may appear broken. Rename the page file to remove special characters. Use only letters, numbers, and hyphens. After renaming, update all links to use the new URL.

Site Collection Recycle Bin Might Hold the Page

If the page is not in the site Recycle Bin, check the site collection Recycle Bin. Only site collection administrators can access it. Go to Settings > Site contents > Recycle Bin. At the bottom of the page, click Second-stage recycle bin. Look for the page file and restore it.

Issue Cause Fix
Page moved to subfolder User or automated process moved the file Update links to the new folder path
Page renamed User changed the file name Use the new file name in URLs
Page deleted Accidental deletion Restore from Recycle Bin
Broken navigation link Navigation menu still points to old URL Edit the navigation link
Permission denied User lacks read access to the page Grant read permission

You can now identify why a 404 error appears for an existing SharePoint page and apply the correct fix. Start by checking the Site Pages library to confirm the page file location and name. If the page was deleted, restore it from the Recycle Bin. Always update navigation links and hyperlinks after moving or renaming a page. For advanced protection, enable versioning on the Site Pages library so you can revert to a previous version if a page is accidentally overwritten.

ADVERTISEMENT