Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Permalink to specific version of a page

Is there a way to determine the url for the current version of a page (i.e. if the page were subsequently edited, and pages using the permalink would be directed to the previous version).

It is possible to determine the urls for previous versions of a page within the page history, however the url for the current version of a page always points to the latest version.

It is possible to do this for attachments. Is there any way to determine the correct url for pages?

3 answers

1 accepted

1 vote
Answer accepted

My workaround (until I hear of a better way to do it):

If you want to specifically link to the current version of a page (rather than always link to the latest version):

  1. Edit the page and make a minor edit (i.e. an extra space somewhere) and add a comment when saving the page (something like - edited to obtain page version only)
  2. Go into the page history
    1. If the comment is not shown in the history, then the save was not successful (i.e. the change was too small to discern)
  3. Determine the url of the previous version of the page - this is the url to link to

Four years later I still can't find another solution to this problem. That makes me sad.

Like Timo Rieber likes this
  1. go to the page's 'Page History' (.../Page History)
  2. right click on the version you want to permalink to and select 'copy link address' in Chrome or similar for other browsers

The steps here will give the URL for the previous versions, but not for the current version. A workaround to get the current version is to follow these steps to get the previous (current-1) version of the page, then increment the number after "pageVersion=" in the URL to match the current version number. It will then always link to the page as it is now, even after subsequent versions are added.

If you are currently on version 25 of a page, you could add  &pageVersion=25 to the URL (or ?pageVersion=25 if it is the first attribute)

https://wiki.example.com/pages/viewpage.action?pageId=16048214&pageVersion=25

Works like charm! Thank you Daniel.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

59 views 0 3
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