Modern pages in SharePoint give you many of the same abilities that pages in classic publishing sites provide. Once a SharePoint modern page is created, it can be edited, saved, published, and shared. A page can also be deleted or restored to a different version. You can also set up a content approval flow.
Note: Some functionality is introduced gradually to organizations that have opted in to the Targeted Release program. This means that you may not yet see this feature or it may look different than what is described in the help articles.
In this article
Page lifecycle
Note: If you see Save and close instead, it's because coauthoring is enabled for your organization. You can learn more here.
Note: If this option isn't available for you, it's because coauthoring is enabled for your organization. You can learn more here.
Note: The Republish button is only available when using SharePoint in Microsoft 365. This button is not available in SharePoint Server Subscription Edition or SharePoint Server 2019.
Page life cycle with content approval
The life cycle of a page with content approval turned on is just slightly different as a page has to be approved by someone before it can be published. The approvers should either be site owners or people with full control or edit permissions for the site.
Following are additional stages for page publishing when content approval is turned on using Flow. Not included here are steps for approval flows that require multiple approvers, or for customized approval flows.
Pending approval Until a page is approved, it remains in a Pending state.
Published When a page is approved, it is published and checked in as a "major" version and goes "live," meaning that anyone who can view your site can view the page.
The recommended way to use content approval for modern pages is to use Microsoft Flow. See Configure page approval to learn how to do this.
If you want to use the classic method of requiring approval in a library, see Require approval of items in a site list or library.
Who can edit a page?
Anyone you have given edit permissions to can edit a page. On a team site, adding someone to the team site group has edit permissions by default. On a Communication site, only site owners and those you've given Edit permissions to can edit.
Note: Starting in July 2024, the coauthoring capability will start to roll out to organizations. If enabled for your organization, you can select Edit on a page to start editing. Other authors can also edit the same page at the same time. If someone forgets to save and close or publish, the page will automatically save and close after 5 minutes of inactivity.
If the coauthoring capability is still not available for your organization, when you click Edit on a page, the page is checked out, which means no one else can edit it unless you save and close the page, discard changes, or publish the page. Each of these actions checks the page back in. Two people cannot edit the same page at the same time. If one person has a page open for editing, and another person tries to edit the page, a message is shown that the page is being edited by someone else. You can ask the person who has the page open for editing to "release" the page by saving and closing, discarding changes, or publishing. An exception is that if the page has no activity for 5 minutes, the editing session will automatically time out and the page will be "unlocked." A site owner has an additional option to override the check out of the person editing the page.
Finding pages
Pages are stored in the Pages library, which can be accessed by clicking Pages in the navigation. If Pages is not shown in navigation, you can go to Site settings
Restore a previous version
-
Go to the Page you want to restore.
-
Click on Page details in the command bar. Find More details and click Version History.
-
In the Version History pane, hover next to the version you want and click the ellipsis to get the list of options.
Click Restore.
Note: SharePoint doesn't remove the earlier version you just restored, it creates a copy and makes it the latest version.
Unpublish a page
If you no longer want your page to be viewed by others, you can unpublish it:
-
Go to the Pages library for the site.
-
Select the page you want to unpublish.
-
Click the ellipse (...), and then click More.
-
Click Unpublish.
Unpublishing puts the page back into a draft state so it can't be viewed. However, the page will still appear in search results. If you don't want this to happen, you also need to remove permissions from the page:
-
Go to the Pages library for the site.
-
Click the ellipse (...), and then click More.
-
Click Properties.
-
At the top, click Shared With, then click Stop sharing.
Publishing from the Pages library
In addition to being able to publish, post, and republish from the page itself, you can select a page or news post and publish directly from the Pages library command bar and from the file card that appears when you hover over a file. Additionally, you'll see a message in the Page details pane as well as a yellow, open book icon next to the file name indicating if a page has been updated (with content or property changes) and needs to be published.
