Modern vs Classic SharePoint Pages, and Why a Renamed Page Says "Page Not Found"

A SharePoint page's title and its URL are separate. Changing the title in the page doesn't change the URL. Renaming the page's file in the Site Pages library does, and the old URL then returns "Page not found" (404): SharePoint adds no redirect. In our test, the renamed page kept its title, the new URL worked, and the old URL returned 404. Before renaming, find the links to the page; afterwards, replace the old URL everywhere it appears.

Published:

Last updated: 2026-11-06

What we tested

We created a modern page in Site Pages, gave it the title Site Safety Checklist and published it. Then we renamed its file to Jobsite-Safety-Checklist.aspx, the same as renaming it in the library.

URLAfter the rename
Old file name404, "Page not found"
SitePages/Jobsite-Safety-Checklist.aspx200
Page titleUnchanged: Site Safety Checklist
SharePoint page not found error at the page's old URL after the rename
The old URL after the rename. No redirect.
The page at its new URL Jobsite-Safety-Checklist.aspx, still titled Site Safety Checklist
The renamed page. The title didn't change, only the URL.

Changing the title in the page's editor or Page details doesn't change the URL, so it's always safe. The URL comes from the title only when the page is first saved.

What breaks

  • Navigation links, Quick Links and Hero web parts that point at the page.
  • Links in other pages, news posts and documents.
  • Teams tabs, bookmarks and links in emails.
  • A site's home page, if you rename the home page. Set the new page as home again.

News posts shared in Teams or by email use the URL too, so renaming a news post breaks those shares.

Modern vs classic pages

Modern pagesClassic pages
LibrarySite PagesSite Pages (wiki and web part pages) or Pages (publishing sites)
EditingSections and web parts, responsiveWiki text, web part zones, page layouts
CustomizationSharePoint Framework web parts and extensionsScript Editor, master pages, custom CSS
MobileResponsiveNot responsive
FutureWhere new features goStill supported, but no new features; custom script is off by default

The "Return to classic SharePoint" link only changes how lists and libraries look for that session. It doesn't convert pages. To convert classic pages, use the PnP page transformation (ConvertTo-PnPPage), which creates a modern copy of each page.

The rename behavior is the same for both: a renamed file is a new URL with no redirect.

Rename a page safely with PowerShell

This PnP PowerShell script renames a page's file and prints the old and new URLs for the link replacement. It needs PnP PowerShell 2.x and your own Entra ID app registration; nothing changes until you set $WhatIf = $false.

$ClientId = "<your-app-id>"
$SiteUrl  = "https://contoso.sharepoint.com/sites/Projects"
$OldName  = "Site-Safety-Checklist.aspx"
$NewName  = "Jobsite-Safety-Checklist.aspx"
$WhatIf   = $true

Connect-PnPOnline -Url $SiteUrl -Interactive -ClientId $ClientId
$web = Get-PnPWeb
$old = "$($web.ServerRelativeUrl.TrimEnd('/'))/SitePages/$OldName"
$new = "$($web.ServerRelativeUrl.TrimEnd('/'))/SitePages/$NewName"
"Old: $old`nNew: $new"

if ($WhatIf) { "WhatIf: nothing renamed. Links to $old will return 404 afterwards." }
else { Rename-PnPFile -ServerRelativeUrl $old -TargetFileName $NewName -Force; "Renamed." }

Keep the old URL working by creating a small page at the old name with a link to the new one, if the page was widely shared. There is no built-in redirect for pages.

Find and fix links to a renamed page with SharePoint Essentials Toolkit

The toolkit's Links area handles both halves:

SharePoint Essentials Toolkit Links area: Find broken links, Link Inventory, Find one or more specific links, Fix or replace links in bulk, Prepare site for link correction
Find links to the page before the rename, and replace them after.
  1. Before: Find one or more specific links with the page's URL, across every site that might link to it.
  2. After: Fix or replace links in bulk with one rule, old URL to new URL. It updates pages, web parts, navigation, list columns and Office and PDF files.
Fix or replace links in bulk: a rule that finds links containing an old path and replaces it with the new path, Flag only on
A replace rule. Flag only shows what would change before anything is written.

Changes can be undone from History. Find broken links afterwards confirms nothing still points at the old URL.

Community Edition is free on up to 20 sites per Microsoft 365 tenant.

Frequently asked questions

Why does my renamed SharePoint page say Page not found?

Renaming the page file changes its URL, and SharePoint adds no redirect. Links to the old URL return 404 until you update them.

Does changing a page title change its URL?

No. The URL is set from the title when the page is first saved. Changing the title later leaves the URL as it was.

Can I redirect an old SharePoint page URL?

Not with a built-in setting. Update the links, or leave a small page at the old name that links to the new page.

What is the difference between modern and classic pages?

Modern pages use sections and web parts, are responsive and get new features. Classic pages use wiki text or web part zones and support older customizations.

How do I convert classic pages to modern?

Use PnP page transformation, such as ConvertTo-PnPPage, which creates a modern copy of each classic page. Return to classic SharePoint doesn't convert anything.

Rename pages without breaking links, free

SharePoint Essentials Toolkit Community Edition is free. Find every link to a page, then replace it in pages, navigation and documents with a preview first, on up to 20 sites per Microsoft 365 tenant. Get your free Community Edition license key.

About the author. The Cognillo SharePoint Team builds and supports SharePoint Essentials Toolkit and has worked with SharePoint administrators on permissions audits, migrations and cleanup projects since 2012.