confluence-4.1(latest)
How to make a redirect to a new page(create page in current space with ${not found page} name) on 404 Error in Atlassian Confluence?
I think I need to change action in web.xml:
<error-page> <error-code>404</error-code> <location>/fourohfour.action</location> </error-page>
To something like:
<error-page> <error-code>404</error-code> <location>/createpage.action
?spaceKey=currentSpace&pageTitle=notfoundpagename</location>
</error-page>
Could you please provide me a right syntax?
Sounds good, but it doesn't work:
Existing page:
https://example.com/display/SPACE_NAME/My+App
Link:
It gives me
A different solution to the larger problem is outlined here.
Rather than changing the 404 page, you could change your links to the format-
http:
//xxxxx/pages/createpage
.action?spaceKey=experiment&title=this+does+not+exist&linkCreation=
true
&fromPageId=623770
such that-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.