Link from one document to another with InDesign and in5

image for linked documents

Creating hyperlinks from one InDesign page to another or to an outside site is one thing…but what if you’ve exported multiple documents from InDesign and want to connect them together? Is it possible?

Yes! It’s easy to connect multiple documents that you’ve exported to HTML using in5.

The key is using relative URLS, meaning that their paths are related to each other.

The File Structure

To export multiple files, just make sure to put them in separate subfolders, e.g.,

  • in5_files/export1/
  • in5_files/export2/
  • etc

Creating Hyperlinks from One Document to Another in InDesign

You can point one file to another by typing a relative URL into the InDesign Hyperlinks panel, e.g., “export1” can link to “export2” using the following URL:

../export2/index.html

The double-dot (..) tells the URL to look up one level to the parent folder.

Pro tip: index.html is optional on a web server, which automatically searches for a file named index.html, so it’s also safe to point to the parent folder  (e.g., ../export2/ in this case).

See it in action

Here’s a video from the free course, Publishing to Your Own Custom Domain & Website.

Want to learn more about exporting HTML5 from InDesign with in5?

Check out this free course >>

Get updates from Ajar Productions

Sign up today and get the InDesign Split Text premium extension for free!

Unsubscribe at any time. Powered by ConvertKit

Join the Conversation

  1. Christophe Quinzoni says:

    That’s great!

    Is there a way to target a specific page in the destination file?

    For example, I’d like to link a “A” file to any other page (1,2,3…) than the first one of a “B” file.

    Thanks!

      1. Christophe Quinzoni says:

        Thanks a lot Justin, you made my day!

Leave a comment

Leave a Reply to Christophe Quinzoni Cancel reply

Your email address will not be published. Required fields are marked *