Cannot edit page: Editing or Deleting a Page That Won't Render

Still need help?

The Atlassian Community is here for you.

Ask the community

You may be able to access the edit page URL by hitting ctrl+e (for newer version of Confluence, the keyboard shortcut for Page Editing is pressing 'e')

If you have a page that you can't access (for example, due to an incompatible plugin that won't render a macro), you can delete it, edit the page, or revert the page to a previous version by manually entering the appropriate URL. The URLs look like:

http://<baseurl>/pages/removepage.action?pageId=<pageID>
http://<baseurl>/pages/editpage.action?pageId=<pageID>
http://<baseurl>/pages/editblogpost.action?pageId=<pageID>

http://<baseurl>/pages/viewpreviousversions.action?pageId=<contentid>

Substitute your page ID for the one you wish to delete. To determine the page ID, you may be able to access it from the edit page URL by hitting ctrl+e. If not, you can obtain this information from the database using an SQL query like this:

SELECT CONTENTID FROM content WHERE TITLE = '<pagename>' AND VERSION = '1';

This may return multiple results if there are pages with the same name in different spaces, so you may have to further determine the correct one.

Alternatively, if you don't know the page ID, you can access the page for editing using an URL like:

http://<baseurl>/pages/editpage.action?spaceKey=<spaceKey>&title=pageName

To delete an attachment manually, you can use a URL like:

http://<baseurl>/pages/removeattachment.action?pageId=32787&fileName=harbour.jpg&version=1

To view the attachments on a page:

http://<baseurl>/pages/viewpageattachments.action?pageId=<pageId>

Get the page ID similarly.

To get the source (either Wiki Markup, or XHTML) from the database directly, try the instructions at How to Recover Page Content from the Database and Import Using Source Editor

Last modified on Dec 17, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.