How to delete a static page

To delete a page or post from Simply Static you can use the "delete static page" button located in the sidebar of the WordPress block editor. Clicking this button will remove the item from the static export and should remove it in some of our deployment integrations, like GitHub.

After clicking the "delete static page" button, the status of the post or page where the button was pressed will be changed from "published" to "draft" and a new static export will be triggered. The static export produced will contain updated pages/posts that referenced the deleted item.

If a page/post has already been deleted in WordPress, or is not being removed from your deployment, it is recommend to manually remove the static folder and file from your deployment.

Below is a screenshot showing the location of the "delete static page" button: