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
Accepted answer

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.

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
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,525 views 25 14
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