Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How can I redirect invalid page requests to the Space Home Page instead of a 404 error returned?

Andrew I'm New Here Jun 14, 2022

I have recently migrated an on-premise Confluence Wiki server containing a handful of spaces via the space export / import functionality and that process went relatively well for the most part. We're facing a challenge in trying to perform a simple URL redirect of non-existent pages that return a 404 status.

Is it possible to customize the 404 error page to just simply redirect to the space overview page instead?

The reason behind the ask is that we have an external web application server that references the Confluence cloud wiki URL that dynamically generates a URI based on the context.

ie) should redirect to instead a 404 not found error.

I have looked through the documentation and the available plug-ins but haven't found anything obvious.

Is this even possible or is my only option to use an external reverse proxy solution?


1 answer

0 votes
Charlie Misonne Community Leader Jun 15, 2022

Hi Andrew,

Confluence will reply with a 404 when something does not exist which is the proper http reply for this. Changing these kinds of technical requirements are usually not possible on the Atlassian Cloud ecosystem.

You can try a reverse proxy but personally I never tried it in front of a Atlassian Cloud application so I'm not sure it will work.

Do you have any control over the web application? Perhaps you could truncate the URL when Confluence replies with a 404.

Andrew I'm New Here Jun 15, 2022

Hi Charlie,

Thanks for your response. Unfortunately we have no control over the web application to make those changes (the URLs get dynamically generated based on a leading URL which is configurable... that's it). We previously had the on-premise Confluence server running and we used a plug-in called the Advanced Redirection Plugin by - which got the job done. The plugin hasn't been actively maintained for a long time and is not compatible with Confluence Cloud. I haven't found anything that provides any equivalence within the Atlassian marketplace eco-system yet.

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

1,054 views 19 29
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you