This page last changed on Oct 06, 2008 by jlargman.

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 or edit the page by manually entering the appropriate URL. The URL looks like this:

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

Substitute your page ID for the one you wish to delete. To determine the page ID, you can find out 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.

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

http://localhost:8080/pages/removeattachment.action?pageId=32787&fileName=harbour.jpg&version=1

Get the page ID similarly.

Document generated by Confluence on Dec 03, 2008 15:17