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

How to link to page with a colon in the page title?

Robert Riemann Jun 02, 2016

Hi,

we are writing our software documentation in Confluence.

Some Confluence pages need a colon ":" in their page title. 

And sometimes it is necessary to set a link to such a page from another page. When I try to do so, Confluence says, that it does not recognize the part in front of the colon as a valid spacekey (which is correct).

How can I even so link to such a page (except of renaming the targe page)?

 

Thanks in advance

Robert

3 answers

1 vote
Nic Brough [Adaptavist] Community Leader Jun 03, 2016

I'm afraid you can't - the : is used by Confluence to separate Space:Pagename so, although you can use it in a page name, it can't be referred to by the internal linking system.

1 vote
Ken Williams Oct 10, 2018 • edited

I discovered that this can work if you use the "Advanced" tab for editing the link, and include the Space ID in the link.  It seems to know the first colon separates the link from the page, and the second colon is part of the page name.

If you go back to the link editor, it will forget that you gave it a space name explicitly (maybe only when it's the same space as the space of the page you're editing?) and you have to type it back in each time you edit.

To link to an auto-generated anchor (e.g. from a Table of Contents) on the target page, you can append "#" and the portion of the named anchor that corresponds to the header of the section you're linking to.  This means stripping off the portion of the named anchor that corresponds to the name of the page itself.

Example: I'm linking to

I need to insert 

  • FOO:WARP: WindLogics Archive of R Packages#ConfiguringaGitLabbuildforanRpackage

as the Link in the Advanced link editor, and keep prepending "FOO" every time I subsequently edit the link.

Tested using Confluence 6.1.1.

Tim Hagen Jan 16, 2019 • edited

Helpful, Ken! Using Confluence 6.6.7, I was actually able to accomplish this by prepending just a colon to the anchor link (no space name required).

0 votes
Milo Grika Jun 09, 2016

By "link" are you referring to a hyperlink or include page?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

963 views 0 19
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