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

This widget could not be displayed.

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:

https://plaudit.atlassian.net/wiki/spaces/XXXX/pages/edit/XXXX

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

This widget could not be displayed.
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
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

477 views 6 6
Join discussion

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