Can I Remove pageID from Pretty URL path

Geoff Hargreaves January 19, 2021

Hey folks,

having migrated from server to cloud confluence, I notice that in the "pretty" format path, the pageID or some arbitrary number has appeared. This makes it hard for external apps to link to a page unless it is manually configured for each URL (*not practical)

I am not an admin on it and have no experience in administering cloud based confluence. Just want to know if it is possible to go from:

https://<domain>/wiki/spaces/RUN/pages/<page_id?>/<pretty_name>

to something more akin to:

https://<domain>/wiki/display/<space_key>/<pretty_name>

or even to the same thing just minus the page_id (I am assuming that is what it is) in the path

Cheers

Geoff

1 answer

1 accepted

0 votes
Answer accepted
James Dellow
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 19, 2021

You can't control that, but every page has a unique "tiny link" (short URL) available that doesn't change. When viewing a page, use the k shortcut key to get a link to the page and a popup will give you both standard and the short URL links.

Geoff Hargreaves January 19, 2021

Thanks for the response.

That's not ideal. Part of the link from the application is to create/edit a page if it doesn't exist. In this case it was for runbooks. 

James Dellow
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 19, 2021

Your links will need to look like this for that to work:

https://YOURSUBDOMAIN.atlassian.net/wiki/pages/createpage.action?spaceKey=YOURSPACEKEY&title=YOURPAGETITLE&linkCreation=true
Like # people like this
Geoff Hargreaves January 20, 2021

If this still works then that is extremely helpful.

 

Thanks for this

Geoff Hargreaves January 21, 2021

This is indeed the answer. I feel silly for having not tried it. Thanks again James.

 

Essentially this can be used to link to any page regardless of it's existence and that's exactly what we need here :)

Like James Dellow likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events