How can I edit or delete a page containing a redirect?

I want to delete a page that has a redirect on it, that redirects instantly, making it impossible to access edit mode. Is there a way around this?

2 answers

1 accepted

2 votes
Answer accepted

First trick to try is to get the browser to supress the redirect.  Get the url of the page you want to edit and paste it into a text editor/box.  Then add ?redirect=false to the end of it, and paste the new url back into the browser.  That should now render the page without jumping to the target.

If that fails, then the next trick is to find out the ID of the page (there are several approaches to that, you may already have it in the url - if not, then tell us and we'll dig out some of the options), and go to <your confluence base url>/pages/editpage.action?pageId=xxxxxxxx

Thank you so much. I had tried using that addition but had tried directly in the browser, not in a text editor first. Worked perfectly!

No problem, it's a bit of a faff if you try to just add it, hence the text editor usage.

I ended up with an endless loop after moving a page. The page causing the redirect only had a page list macro on it and it referenced a page that no longer existed. The suggested solutions did not help in my case, but helped point me to a solution. In case other people happen upon this thread with a similar issue. Try going directly to editing the page and then simply remove the content. Then save. To edit use this URL:

The first "XXXX" is the space ID being edited, and the second group of "XXXX" is the page id.

0 votes
Davin Studer Community Champion Feb 19, 2015

You could use the WebDAV plugin to get at the page and then either delete it there or edit out the redirect macro.

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...

259 views 2 10
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