Skip to main content
Inspiring
November 3, 2023
Question

Include the file name into a html link as a variable

  • November 3, 2023
  • 2 replies
  • 200 views

Hi, Our company has asked us to migrate our Robohelp environment to another URL. To manage the change, we'd like to include a redirection link into each topic. Is it possible to include a variable including the RH file name into an html link?

 

Thank you very much

    This topic has been closed for replies.

    2 replies

    Peter Grainge
    Community Expert
    Community Expert
    November 3, 2023

    You are going to need the help at two locations to do that. I would expect IT to be managing the switch from http to https.

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

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

    That's right, IT can handle redirection to https, but I doubt they'll manage it as precisely as we'd like to. But if it's too complicated to go directly to the topic initially requested (by using the file name as a variable), we'll simply redirect to the index. We're not programmers 🙂

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 3, 2023

    No need to be - nothing changes from the help's point of view. Is it being launched from within the application to specific CSH topics? If so, then the app programmers should be able to set the correct URL without having to use any redirects at all.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 3, 2023

    Wouldn't you just put the redirection on the index page at the old location, pointing to the new?

    Inspiring
    November 3, 2023

    Yes, I'd like to, but I'm not quite sure how to do it. I'll also add some clarifications and examples to be more  clear.

    Let's say the user clicks on the link : 

    http://onlinehelp.... MFOR/index.htm#t=MF00-000_Bienvenue.en.htm, I would like to redirect to https://onlinehelp.... MFOR/index.htm#t=MF00-000_Bienvenue.en.htm. 

    So MF00-000_Bienvenue.... is the file name