Skip to main content
Inspiring
March 6, 2013
Answered

Relative addressing in WebHelp (9 or 10)

  • March 6, 2013
  • 1 reply
  • 1336 views

I have an area on our website that is a repository of a number of pdf files. I would like to be able  to open these files from links within separate WebHelp projects.

I can do this by using an absolute reference to the location of the files from within the projects but would prefer to use relative addressing

A simplified structure is

www.mysite.com/pdf for the repository of the pdf files

and

www.mysite.com/project for the location of a project file.

If I use a link in the project containing an absolute reference of the form www.mysite.com/pdf/file.pdf that will work properly

If I attempt to specify the link as ../pdf/file.pdf, it will not work and ends up as www.mysite.com/project/pdf/file.pdf.

Am I using the wrong syntax, or is this just not supported?

Thanks

This topic has been closed for replies.
Correct answer Captiv8r

The issue is the relative path. I can't find a syntax that works.

I select the text, insert hyperlink, link to: web address. Then at that point the web address I enter seems to work only as an absolute address - www.mysite.com/pdf/file.pdf in my example.


Hi David

Earlier you said that if you used ../pdf/file.pdf it failed and ended up as www.mysite.com/project/pdf/file.pdf.

Have you tried using ../../pdf/file.pdf? Given your situation and what you are seeing, that's what I would try.

Cheers... Rick

1 reply

Peter Grainge
Community Expert
Community Expert
March 6, 2013

RoboHelp HTML or RoboHelp for Word?


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
March 6, 2013

WebHelp...

Peter Grainge
Community Expert
Community Expert
March 6, 2013

Yes but are you using RoboHelp for Word to produce the webhelp or have you now moved to RoboHelp HTML?


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.