Is there a way to delete a page without going to the page?

I was playing around the JIRA issues macro when I somehow created an error. Every time I go to the page with the macro, I get the "System Error" page instead. I don't really need the macro and I don't have time to troubleshoot it right now, so I'd rather just get rid of the offending page. But I can't seem to find a way to remove it without going to the page itself - which just gives me the error message. Any ideas?



5 answers

1 accepted

2 votes
Answer accepted
Mirek Community Champion Jul 18, 2012

Hi Jason,

You do not need to remove the page..

You can try to figure out page ID .. go direcly to page history (Tools > Page History) on any working page and using link like that will appear on the top


change the page ID at the end to the one that is not working and restore to the version that you know that was ok..

I hope that will help



This sounds perfect! My only problem now is how can I get the page id when I can't actually go to the page? I'm comfortable navigating through the database if need be - I just need to know where to look.



Mirek Community Champion Jul 19, 2012

Hi Jason,

There is a few ways of doing that without accessing the database.. I can describe few different and maybe you can use one of them.. I not we can try more options :) ..


If this page was recently updated you can go to the space were the page is choose Browse and Pages.. If you will look at Recently Updated then you will notice a list of pages with titles and a link (view change).. Hower over this link and you should notice the page ID in the URL.. More! If you will click on this link you will see not only what is the different from the previous version but there should be also a link to Page History! This is a thing that you are looking for.. At least on Confluence 4.2 :)


If the above method will not work or you will not see the page on Recently Updated section you can use Firebug or other tool like that build in your browser and monitor for GET reqests and responses from the console when trying to view the page. This sounds like more complex method but it is working fine for me.. I am always finding the correct information that I am looking for..

But if from some reason you are not able to find it in that way..


If you have access to the log files.. You try to view the page and look what error you are recieving. It should contain information about ID of the page that was not found

I hope that one of the above way will work.. If not please add a comment and we will look for other solutions :)



Mirek - Option 1 worked perfectly! I was able to use the pageID and revert it to a working version. Your tips are definitely going into my "Handy Tricks" book!



If you're comfortable with directly accessing the database, find the page ID and remove it from the CONTENT and BODYCONTENT tables.

Needed this today, thanks! Had to include Mirek's first option to get the pageid as its not readily available to a page that won't open.

If you have the Reporting plugin then this can help produce a table listing child pages with li ks to edit or remove each page without needing to visit that page. See the code I shared in this topic:

I found an easier way of doing this in case anyone else is looking for it. Create a new Dummy page under the same space and using Page Reorder under Content Tools move the page to be deleted under the newly created Dummy page. Delete the Dummy page and the child page.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

722 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you