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 make non-http urls in Confluence 5.0.3

Jarlath Reidy Mar 23, 2014

We've just installed 5.0.3 and I'd like to insert a link that looks like this:


with the title 'Copy jdbc url from here'.

But this doesn't work and when I use the Insert Link method. It tells me the link is invalid unless I prepend it with http://- but this of course breaks the link.

How can I do this without putting a lot of messy urls on the page?

P.S: I tried adding a small bounty but the karma offered in the end was 5 times what I entered so I've cancelled until I figure that out..

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough [Adaptavist] Community Leader Mar 23, 2014

That's because it's not really a proper http based url, so Confluence can't understand it as a link.

I don't think you can do this without some code to tell Confluence "this is a non-standard link, please treat it the same way as an http url". I'd try doing that in a user macro though - I have seen this done before, but I'm not 100% sure it was with a user macro or a plugin macro.

Jarlath Reidy Mar 24, 2014

Thanks Nic Brough. I've gone through the default macros and haven't found anything like that. Like I say, I could include them fully expanded like above but they page would look terrible. Maybe I could use some other form of hiding - like the cloak macro - but nothing would beat linking.

Nic Brough [Adaptavist] Community Leader Mar 24, 2014

Thing is, it's NOT a link, it's a block of text that you want to format differently to other blocks of text.

Have another look at the user macros - you can use them to wrap formatting around blocks of text. Not the existing ones, but writing one for yourself -

Jarlath Reidy Mar 24, 2014

Thanks Nic, that's a good failsafe option. I'll try the cloak macro first and failing that I guess I'm looking at creating a macro.

It's not a link, but it is a url. It would be great to have support for it for technical projects like ours. I'll take a look at your link, thank you.

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...

942 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