W have some pages in our Confluence instance that do not have the space key in the page URL. As a result, some of the Confluence macros can not be used with these pages.
What causes a page NOT to have the space key as part of the URL?
Example:
regular page url - https://(baseURL)/display/CON/C15+2015+Delivery
other page url - https://(baseurl)/pages/viewpage.action?pageId=63866104
Hi JT,
That is caused by having special characters in the page title. There is more information in this article:
{quote}
Page titles without special characters will create a URL like: http://localhost:8080/display/support/Page+Title
Adding any special characters to the title will cause the pageId to be used instead: http://localhost:8080/pages/viewpage.action?pageId=1900546
Hi Ann,
Thanks for your help,
If I want to get spaceKey and title when URL
like: xxxxxxxxxx/display/"spaceKey"/"title"
Can I usually substring this URL to get them safely?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.