Hyperlinks don't work if they contain brackets

New Here ,
Aug 09, 2022 Aug 09, 2022

Copy link to clipboard

Copied

I have a handful of hyperlinks containing brackets in the URL. They work fine in my browser. When I add them to an InDesign document as a hyperlink, they generate a 500 error. Is there another format I should be using? I don't have any control over the website itself, but I need to make these hyperlinks work in my document.

TOPICS
Bug , How to

Views

45

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 09, 2022 Aug 09, 2022

Hi @Capri Ella, you should be able to determine what the URL is without the brackets. Then replace the string in InDesign. For example, if the URL looks like this: {"https://www.adobe.com/"} or this: (https://adobe.com), rewrite it as https://www.adobe.com.

 

URLs won't work if a bracket character is in the middle of the address. Check to see how the URL shows up as written in your Hyperlinks panel. If you have a different issue, and want to post the URLs here or send them to me by direct messag

...

Likes

Translate

Translate
Community Expert ,
Aug 09, 2022 Aug 09, 2022

Copy link to clipboard

Copied

Use the equivalent character code for each bracket in the URL (e.g. spaces are encoded as %20).

 

FWIW, it's workable but bad practice to use pretty much anything besides alphanumerics in URLS. Happens with encoded document names, but they should use the numeric encoding, not the characters.

 

|| Word & InDesign to Kindle (& EPUB): a Professional Guide (Amazon)

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 09, 2022 Aug 09, 2022

Copy link to clipboard

Copied

LATEST

Hi @Capri Ella, you should be able to determine what the URL is without the brackets. Then replace the string in InDesign. For example, if the URL looks like this: {"https://www.adobe.com/"} or this: (https://adobe.com), rewrite it as https://www.adobe.com.

 

URLs won't work if a bracket character is in the middle of the address. Check to see how the URL shows up as written in your Hyperlinks panel. If you have a different issue, and want to post the URLs here or send them to me by direct message, I'll take a look at them for you.

 

JainLemos_0-1660069873683.png

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines