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) https://sitename.atlassian.net/wiki/spaces/SPACEKEY/overview/a/b/c should redirect to https://sitename.atlassian.net/wiki/spaces/SPACEKEY/overview/ 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?
Thanks.