Skip to main content
Inspiring
September 27, 2011
Question

RH9 Relative Paths

  • September 27, 2011
  • 1 reply
  • 1352 views

I have to publish my project to two separate servers. One of these is a secure HTTPS server, accessed by auditors. It's a parent/child project, which requires links between different child projects. I can't do this within Robohelp, so I have been hard coding the hyperlink to the published URL for that topic on the non-secure server.

However, the auditors will NOT have access to the non-secure HTTP server, which means the hard coded links will be dead for them. I would like to use relative paths so that I can link between the various child projects on any server, but I can't get them to work, no matter what syntax I use.

How can I do this?

    This topic has been closed for replies.

    1 reply

    Peter Grainge
    Community Expert
    Community Expert
    September 27, 2011

    MaureenGilliland wrote:

    It's a parent/child project, which requires links between different child projects. I can't do this within Robohelp,

    Why not? See the Merged Help articles on my site. I create relative links via the interface.


    See www.grainge.org for RoboHelp and Authoring tips

    @petergrainge

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Inspiring
    September 28, 2011

    Peter, Thanks - that was exactly what I was doing - I did enter the correct relative path. I just wasn't aware that I also had to update the whtdat0.xml file in Notepad to correct the syntax. I thought that the Link to field was going to accept what I entered as is, and of course that doesn't work.

    Peter Grainge
    Community Expert
    Community Expert
    September 28, 2011

    I thought you meant you were entering the absolute path. By implication when you said you wanted to enter relative paths, I took it you were currently using absolute paths.

    You've lost me on the need to edit whdat0.xml. I go the the Link To field, browse to my target, it shows the full path initially but on revisiting the dialog the path is relative and it works with no further editing.

    That does depend on using the structure I advocate but if you don't do that, as long as the relative path is right for the output, it should work.


    See www.grainge.org for RoboHelp and Authoring tips

    @petergrainge

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.