The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Why Confluence display space link directions differently?

Anni R
Contributor
September 26, 2011

Hi!

Why Confluece display some space link end differently. Some link have in the end id, others space page name?

https://www11.energia.ee/confluence/pages/viewpage.action?pageId=6919398

https://www11.energia.ee/confluence/display/SERV/Horisontaalne+haldus

the page hierary is the same for both pages

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
David at David Simpson Apps
Atlassian Partner
September 26, 2011

It all depends on the page title...

Refering to the Uniform Resource Locators RFC (from December 1994)...

only alphanumerics, the special characters "$-_.+!*'(),", and
   reserved characters used for their reserved purposes may be used
   unencoded within a URL.

If the page title complies with this, the URL will be like http://wiki.example.com/display/spaceKey/Page+Title

Otherwise the backup plan kicks in and the page is referenced by its pageID e.g. http://wiki.example.com/pages/viewpage.action?pageId=123456

If you wish for the former URL format, strip the punctuation from the page title.

Jeffrey Harris
October 14, 2011

What if I want to use the latter format? Is it possible to reference any page by its pageId, even if the page title is compliant?

TAGS
AUG Leaders

Atlassian Community Events