Difference in appearance of page URLs

My customers are asking me why there is a difference between page URLs in the same space:

  1. Use the name of the page as it's URL
  2. Use the PageId as it's URL

(See attached)

Will someone help me understand this?  Both pages were accessed via searching on the name of the page.

 

2 answers

0 votes

URLs cannot contain some characters (un-encoded), so if you use them in the page title, Confluence can't generate urls from them.  See https://confluence.atlassian.com/confkb/confluence-page-urls-contain-pageid-instead-of-the-page-title-278692715.html

The page-id based url of a page is always available.  The nice-human-friendly name only when the name doesn't have special characters.

 

Hi Greg,

Nic is right.  To add to what he says, there is a 3rd link type as well called Tiny link.  So for any one page you'll have the following 3 links, all of which point to the same page:

  • Friendly name: https://xxx.atlassian.net/wiki/display/EX/Example+Page
  • Page ID: https://xxx.atlassian.net/wiki/pages/viewpage.action?pageId=57686360
  • Tiny Linkhttps://xxx.atlassian.net/wiki/z/JgQ-AF

The Friendly name link will only appear, as Nic says, if the page name doesn't contain any special characters.

Something important to know is that the Friendly name and Page ID links will change if the title of the page changes.  If you share one of those links and the title of the page changes between you sharing the link and the recipient clicking on the link, the link won't work.

However, the Tiny Link is a permanent link (aka permalink or static link) to the page itself, and will work as long as the page hasn't been deleted, no matter what changes you make to the page title.  You can find the Tiny Link for a page by clicking on the ellipsis at the top right of a page (in View mode) and clicking Link to this Page...


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,526 views 25 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you