Forums

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

URL linking in Confluence Pages

lokesh gangula September 27, 2022

Team,

I have a below scenario.

I created a page with table of contents and headers.

one of the header is named as "Checking URL of 2 ?"

Now when I click the header from table of contents it redirects to the url as below

https://lokesh9125.atlassian.net/wiki/spaces/MYDOCS/pages/196609/My+Docs+Page#Checking-URL-of-2-?

However I have problem with this since in outlook the last part of the URL '?' isn't considered. so when i am clicking on the url from outlook it doesn't redirect to the intended content rather it gets redirected to the confluence page.

Do i have a solution here , how do i encode '?' in confluence page.

I still wanted the header to be 'Checking URL of 2 ?' but the url should be encoding the '?' character.

Any help is much appreciated here.

Thanks in Advance

1 answer

0 votes
Dominic Lagger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 27, 2022

Hi @lokesh gangula 

I can confirm, that the a question mark at the end isn't interpreted correctly from outlook. 

I would suggest you to use the macro "anchor". 

Just add an anchor with the name "URLCheck" and then use this link: 

https://lokesh9125.atlassian.net/wiki/spaces/MYDOCS/pages/196609/My+Docs+Page#URLCheck

Hope this helps

Regards, Dominic

lokesh gangula September 28, 2022

Hi @Dominic Lagger ,

 

Thank you for the response. But my use case is such that i have to use table of contents ?

Is there any way doing it. Using anchors solves the problem but i cannot got for it.

 

Regards,

Lokesh

Dominic Lagger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2022

Hi @lokesh gangula 

I do not understand, why you can't use both? 

You can still use tabel of content AND doing the anchor. 

Another workaround would be to use the hyperlink function of outlook. So therefore you would set up a new hyperlink instead of just pasting the link. 

Regards, Dominic

lokesh gangula October 12, 2022

How can i use both TOC and Anchor. I mean in TOC i  want to display a different name from header and i want to link an anchor to that name. Any example would really help me.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events