Converting absolute links to relative links

Using RH 7 HTML our corp wants to have help files able to function as "standalone" files on local PC's without network or server for business continuity. Presently most files have 150 or less topics and are published to a server. External files are in sub folders within the folder where the published file is located. Links to external attachments (.doc, .xls, .pdf, etc.) are absolute links and need to be changed to relative. An example existing link would be: HTTP://server.com/help/attachments/fname/sample.doc.  Help is the foler where tje published file is located and Attachments is the folder where the external files to be linked are located. When link is changed to: ../Attachments/  some links work and some don't. I discovered that some links require: ../../Attachments/ to function correctly. It appears that links that are not in the root path of the project manager require additional ../'s. I am trying to find out how RH7 reads the links and how to back out of a directory and when. Any help is appreciated. Thanks.

The easiest, and most efficient, way is to replicate the folder environment onto your local machine (all folders and files exactly as they will appear in the destination area), and let RH do the heavy lifting.
Therefore, to link to anything outside the current RH project, the method is:
Select Link to: File in the Hyperlink dialog.
When you select your link destination from the Select File dialog and click Open, the Link to: field initially displays the absolute path.
Click OK.
Now, double click the link to reopen the Hyperlink dialog; RH has magically transformed the link into a relative path.
(You'll get an info message about linking to an external file...when you initially create the link and every time you open it...just ignore it.)
We use this method in a 42-project merged project, and it's never failed us. The only time that your links will break is when you copy or move a file to another location. Since the relative paths are no longer valid, RH will automatically assign the links to within the current topic; you'll need to re-assign the link manually.
Good luck,
Leon

Similar Messages

  • Hi , my problem is that i can only create absolute links to other pdf-files in a main pdf-file. how can i switch to or create relative links. Thanks for help!

    Hi , my problem is that i can only create absolute links to other pdf-files in a main pdf-file. how can i switch to or create relative links. Thanks for help!

    I’m using version 11.0.10. So where the Menu resides in a folder ready to be burnt on to a CD, that same folder is where the links point to.
    Thanks

  • Dreamweaver CS3: Absolute links

    Is there a way in Dreamweaver to change all relative links to absolute links site wide? (besides manually typing ../ all over the place)
    Thank you!

    The old site was: http://mysite.com/index_files/Page324.htm
    The new site is: http://mysite.com/index.html
    When I use an hcaccess file to redirect from any of the old links ( with a 404 error)  to the new files set-up the browsers can't find the new images and css files unless I add "../" to the paths.
    Does that make sense? I would love to hear a better solution!
    I'm a little confused.  Are all of the new files in the latter location?  And are you saying when you have a line in the htaccess file that redirects from Page324.htm to http://www.mysite.com/index.html, the page is not able to find any of the images/css?  And - why are you redirecting with a 404 - shouldn't it be a 301?

  • Absolute linking of .as instead of relatively linking

    hi,
    the project im working on is all database driven, there are no html files and all coding that is created is made by php then stored within a db to be called later on. now because of this i can't use relative links at all with anything i.e. images, videos and swf files.
    so.....i am using swfobject to link to a swf file using absolute linking as shown in the coding below. but what i need to do now is link an .as file in my swf using absolute linking so i can call some arrays from the file.i have doubled checked to make sure my vars can be passed by local testing and it works but now i need it as absolute....is this possible?

    i can understand that but i am not making this so it picks different .as files during run-time.
    i have one .as that is set called gallery.as this is created by my php coding which creates the flash vars and then saves the .as file in the same directory as my swf file.
    the swf file is set to include gallery.as so that there is no need to try and choose different files.
    but as this is all run without the use of html pages because of the nature of the site everything is linked using absolute paths, i just need to get flash to do the same thing.
    please find my attached zip file with all my current files so you can see what i have actually done.....if you open up the fla and preview it should load my images

  • Converting image links from Word to PDF

    If I insert a picture into a Word file (Insert/Picture From File), select the picture and Insert/Hyperlink and then Convert to Adobe PDF, the hyperlink is still active in the pdf file as expected (Add Links is checked in the conversion settings).
    However, if I do the same but apply any layout options to the picture before attaching the hyperlink (e.g. Format Picture/Layout/Square text wrapping), Convert to PDF does not convert the link into the pdf file and the image appears as if no link had ever been set.
    Does anybody know of a solution to this problem?  Or is Acrobat 9 any better?  I am curently using Word 2000 and Acrobat 6 running on XP

    Thanks for the reply.
    I have already inserted the links within the pdf, so I do have a working document.  It is only a draft, though, and any subsequent editing requires going back to the original Word document, editing and converting again to pdf and then re-establishing the links - with over 30 images (linked to pre-exixting pdf documents) this last step is both tedious and error-prone!  Thanks for the warning re Acrobat 9 and Word 2000.  I had been thinking of upgrading ...
    Mike

  • Absolute links on hml page in local directory not working

    All the absolute links on my html pages (which are on my hardrive) are being treated as local links and are therefore not working - i.e. Firefox is adding the local file path before the url. For example, the original link is: http://www.insidehousing.co.uk/legal/criminal-conviction-for-illegally-subletting-tenant/6518844.article
    But Firefox is adding the directory path so the url string becomes: /www.insidehousing.co.uk/legal/criminal-conviction-for-illegally-subletting-tenant/6518844.article%E2%80%9D
    It is also being appended with: %E2%80%9D (which, when tested from a Word page, leads to site but generates page not found error).
    For testing purposes, is there any way I can reconfigure Firefox to parse my links as absolute?
    Many thanks

    Thanks, both. I have carried out cor-el's suggestion of replacing the smart quotes with dumb quotes, then tried viewing link on file again using different encoading, including UTF-16 - same result as before.
    Below I've set the HTML of the whole page, as per yalam96's request (it includes cor-el's suggested fix to the "prosecute" link):
    <pre><nowiki><h3>Who do you need to inform (in the UK)?</h3>
    <p>If you have a mortgage, you will need to inform your provider (with most lenders this shouldn't be an issue – you do not need “consent to let” as you would if you were letting out the whole property) but you do still need to inform them; why? This is partly for the protection of your lodger, if you should default on the mortgage or die, but mostly for your own protection – if the property was destroyed or badly damaged because of the negligence of your lodger.</p>
    <p>If own your property and it's leasehold, check the lease – you may need permission from the freeholder.</p>
    <p>If you rent your property, you will need to firstly check with your landlord (this applies whether you rent privately or from a public landlord – Local Authority or Housing Association), and get their permission in writing, just as you would with a mortgage provider. Incidently, in the UK, a public landlord is only likely to object to the let if moving a lodger in would mean your home becomes over crowded (e.g. you have a two bed flat and your children would have to share your bedroom). They will also object – they might even <a href=&#x201d;http://www.insidehousing.co.uk/legal/criminal-conviction-for-illegally-subletting-tenant/6518844.article&#x22;>prosecute</a> - if you move out and let the whole property to the “lodger” (who wouldn't be a lodger in that case, but a full tenant, with full tenant's rights).</p>
    <p>You may also need to cancel any existing residential home insurance and take out <a href=”http://www.landlordinsurance.biz/landlord-insurance-guides/landlord-insurance-faq/”>landlord insurance</a>. A few residential policies will, however, allow lodgers. Landlord insurance will not cover the lodger's possessions, they will need to get their own insurance, known as Tenant Insurance – policies can be compared on sites such as <a href=”http://www.confused.com/campaign/home-insurance/tenants-content-insurance?MediaCode=1054&kw=lodger+contents+insurance+broad&gclid=CPbbn9-Nj7MCFanItAod3GAAog”>confused.com</a></p>
    <p>If you get a single occupier's discount on your council tax, you will need to inform your local authority, unless your lodger is <a href=”https://www.gov.uk/council-tax/council-tax-exemptions”>exempt</a> from paying council tax (e.g. they're a university student).</p>
    <p>NB People claiming Jobseeker's Allowance and most other benefit claimants are <b>not</b> exempt – they are, however, usually entitled to Council Tax Benefit to help with some or all the cost of their council tax.</p>
    <p>If you're letting on a Monday – Friday basis (to someone who only needs a week night let), this person would not normally pay council tax at your property, as they already pay against their main (family) home. However, if for whatever reason you and your Monday – Friday lodger decided that they would use your address as their main home, they would then become liable to pay council tax at your address and you would lose any single occupier's discount.</p>
    <p>If you claim any kind of means tested benefit (such as job seeker's allowance, housing benefit or council tax benefit) as benefit rules currently stand (January 2013) your rental income will affect this. <b>Contribution</b> based Job Seeker's allowance (JSA(C)) will be affected if your weekly rental income exceeds £50. If you're on income based jobseeker's allowance (JSA(I)), it's very likely to be affected; however, to what extent will depend on your rental earnings and circumstances and a DWP adjudicator will decide this.</p>
    <p>However, from October 2013, when Universal Credit takes effect in the UK, <a href=”http://www.insidehousing.co.uk/tenancies/lodger-rules-to-ease-impact-of-bedroom-tax/6522846.article?MsgId=57059”>a <b>public housing</b> tenant's income from renting a room will no longer affect their benefit entitlement.</a></p></nowiki></pre>

  • How would you convert ToC links to cross references?

    Hello gang,
    InDesign CS6 can export to ePub, and can support the exporting of one ToC to ePub hyperlinks, but cannot support two. Is there a script or plug-in that you know of that can take a second or third selected ToC generated, and convert its links to cross-references, so that more than one ToC can result in an html-based link once we export to ePub?
    Many thanks for any pointers,
    Mike Witherell in Maryland

    Hi Ariel,
    Can you let me know if your script could be useful to me? Here's my situation:
    I have a ~250 page document with a lot of named cross references.
    I want to generate a formatted list at the end of the document of all these cross references, in the order they appear in the text, in a format like this:
    P<page no>, <name of reference>: Note about this cross reference.
    (where the <page no> and <name of reference> are drawn from the text anchor in the main text of the document, and the note about the reference is manually typed in to the reference list.)
    Any thoughts appreciated! I have a decent handle on Javascript in a web development context but haven't used it to script InDesign before.
    Thanks
    Pat

  • Absolute links

    I'm loading certain pages from my site to a third party vendor's site as html templates which visitors will access via the c-name.
    They require absolute links throughout.
    a) is there a preference or hack that makes all my links absolute in MUSE
    b) is there an easy way to do this globally instead of find and replace?
    thanks!

    Hi Christopher,
    At this stage this is not possible to force muse to generate absolute links. I will recommend that you use some script on-load that changes all the links to the absolute paths in stead of manual find and replace.
    - Abhishek Maurya

  • Preserve mailbox permissions after converting to linked mailboxes

    Hello,
    I am converting normal user mailboxes to linked mailboxes in Exchange 2007 SP3. After a pilot, we found that the linked accounts no longer had access to shared mailboxes (the share mailboxes will NOT be converted into linked accounts). The Full Access
    ACL references the OLDOMIAN\username AD account. Manually adding NEWDOMAIN\username to the ACL fixes things. Is there an easy way to export the Full Access and Send As permissions for the shared mailboxes and switch them to NEWDOMAIN\username with
    PowerShell? I have a feeling this will involve a lot data manipulation with Excel. Too bad there is no ADMT style security translation tool for Exchange mailboxes!

    It's definetly possible to do this entire task via powershell script but need to spend some time to write it... ;)
    But well, here is another quick way I can suggest it's two step process...
    1. Export Full Access and Send-As to csv files seperately by following this Exchange Powershell Tip #09
    2. Now you have two files, replace the domain name in exported csv files.
    3. Import the permission back using this...
    $FullAccess = import-csv mailboxaccess.csv
    $FullAccess | %{Add-MailboxPermission -Identity $_.Identity -User $_.user -AccessRights $_."Access Rights"}
    $SendAs = import-csv sendas.csv
    $SendAs | %{Add-ADPermission -Identity $_.identity -User $_.user -AccessRights Extended -ExtendedRights $_."Access Rights"}
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Acrobat Web Capture cannot convert javascript links...?

    In Matrix (Multiple Listing Service) Acrobat Adobe 10 Standard won't convert javascript links in newly created PDFs Documents from Matrix.   The Error message is : Acrobat Web Capture cannot convert javascript links and the link often does not work correctly when opened in the web browser...  
    Is there any javascript download or work around program that can fix this problem?
    Thanks

    Probably not. Pretty hard for Acrobat to handle all of the web JavaScript and possible function calls that could appear on a web page and be located in another directory.
    If this is important to you, you can use the bug report/feature request page at adobe.com..

  • Exchange Converts embedded link to http when Sending to External Recipients

    Hello:
    We use a product called ProjectWise internally.  One of the features is to embed the link to a ProjectWise document in the body of an e-mail and send it to other users.  When ProjectWise embeds the link, it is in the format:
    pw://path_to_file
    Obviously, this is very similar to the http format.  The pw:// link allows the file to be opened natively in the ProjectWise software.
    Here's the issue:
    When sending to other INTERNAL users, the link flows through correctly.  However, when it is sent to an EXTERNAL user, the link is converted from pw:// to http:// and is useless.
    We can even send the same email to both Internal and External users, the Internal users receive correctly, the External users receive the converted link.
    I am thinking that Exchange is somehow modifying the link when sending to external, but I can't find anything on it.
    Thanks,
    Tim

    Hi Tim,
    Base on my knowledge, by default, exchange system does not modify the content of the email, except you create some transport rule.
    Do external user use exchange ? or any other email system?
    In addition, the format of "pw://" is only useful for internal, when you open the "pw://" link from internet, Browse may automatically converted the link to "http://".
    Best regards,
    Niko Cheng
    TechNet Community Support

  • How do you convert absolute paths to external files to relative paths?

    I have a TOC PDF document that contains approximately 200 links to other external PDF files. The other files are located in the same directory as the linking PDF. However, when the links were done, I accidentally created the links in a copy of the PDF on the file server, *not* the one in the same directory as the target PDFs.
    So now the links in the TOC PDF all have an absolute network path embedded in the link such as "/D/projects/assets/PDF/targetFile.pdf", whereas they should only be "/targetFile.pdf". Is there a way to easily change these? I don't relish the notion of having to walk through the document and manually fixing each one.
    I tried forceably editing the PDF file in a binary editor, but this caused the document structure and fonts to get out of whack -- though the links worked.
    Any recommendations? I will consider a commercial product if one exists!
    Thanks,
    Rob

    I think you are barking up the wrong tree...
    Let's say you have a 10 second clip of PAL material:
    10 seconds x 25 fps = 250 frames
    If properly converted to NTSC:
    10 seconds x 30 fps = 300 frames
    The only difference is the number of frames, NOT THE LENGTH OF THE CLIP! It is still 10 seconds long.
    10 seconds of audio x 44.1 kHz = 441 thousand samples
    or
    10 seconds of audio x 48 kHz = 480 thousand samples
    or
    10 seconds of audio at 22.05 kHz = 220.5 thousand samples
    The only difference is the number of samples. NOT THE LENGTH OF THE AUDIO. It is still 10 seconds long.
    If you have drift, then there is something wrong in your conversion. You can't take a 25 fps clip, tell it to play at 30 fps and expect it to be the same length. There are multi-thousand $$$ transcoders that do that job.
    HTH,

  • Convert data link between one query's group and another querys group to SQL

    Hi
    I have a report where there are 2 query Groups. These 2 query groups r linked by data link. How do i combine these queries to One query so i can use it as a SQL query.
    Thanks

    Hi,
    Assume that we have two queries Q1 and Q2 and the common column between the two queries is "comn".
    Now we can convert the datalink into SQL as follows:-
    SELECT *
    FROM
    (Query for Q1)a,
    (Query for Q2)b
    WHERE a.comn=b.comn(+)
    Note: "a" and "b" are alias names for Q1 and Q2.

  • Convert table linked report into a Command version - Howto?

    How can I convert hundreds of reports from table linked into a Command version?
    One way to do is to take the SQL syntax off the report, add a Command with that Syntax and manually replace the database fields by the Command fields.
    I can not believe that is the right way to this. Is there no hidden (re-)mapping fields button or another undocumented feature?
    If this is the way to do it... when will there be a one-button-click solution. The underlaying data keeps the same, could not be that hard to build..?
    Without that basic functionality Crystal Reports is not option for us anymore.
    Backgroud: We do have hundreds of reports that are created by an ODBC (RDO) database (SQL Anywhere database), created by linking the tables and select the fields we like to use in the report. This works fine at least as we used the RDC method in our application. Because we are moving to .NET we could not use RDC anymore and have to use the .NET methods. However the .NET SDK is very limited. The only way to add more complex WHERE statements is to use the Command functionality of Crystal Reports.

    Hi Hans,
    Let me explain, Command Objects are sent directly to the DB server as is. CR does not alter the SQL at all. As you know in SQL there are minor differences between the various servers and the SQL syntax can vary from DB to DB. Because of this CR could not build in the logic to handle the vast number of potential mappings, and not jsut SQL types but also PC databases.
    To be able to map reports based on connections directly to the DB through a Command object the current versions of CR do not have the ability. Possibly the next version may have this feature though but we can't say for sure until it's released. Check our WEB site for new versions and there functionality.
    Next question about moving off of the RDC to .NET, you are correct. CR no longer allows you to modify the SQL statement directly. The RDC was actually supposed to stop you also but it did work.
    One possible solution is to use .NET and inProc RAS ( Report Application Server) and using record sets. Your app can get the SQL from the report, process the query and appending the info onto the WHERE clause as well as other filtering and then set the existing reports data source to the record set. As long as your data is less than 5000 rows then no performance issues, over 5K and you may start to see slow report processing. Depends on other info and report complexity etc.
    If this is an option for you please post your question to the Crystal .NET development forum. Also, you will need to use 12.x.2000.x versions of the CR .NET assemblies and not use the basic version 10.5 or 10.2 that comes with .NET 2008 and 2005.
    Thank you
    Don

  • Absolute link issue

    I'm building an application that has numerous folders with
    the same element in each folder. i.e. header.jpg. The elements
    change from folder to folder, but their position in the folder is
    the same, so /images/header.jpg is consistent throughout.
    I'm building a site using dreamweaver templates, and want it
    to print precisely that line, but whenever I build a template, it
    creates a relative link. Is there a way to force dreamweaver to
    leave that link alone?
    Thanks,

    <img src="@@('whatever.jpg')@@"....
    That link will never be managed by DW.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "ajime" <[email protected]> wrote in message
    news:eab8hl$odd$[email protected]..
    > I'm building an application that has numerous folders
    with the same
    > element in
    > each folder. i.e. header.jpg. The elements change from
    folder to folder,
    > but
    > their position in the folder is the same, so
    /images/header.jpg is
    > consistent
    > throughout.
    >
    > I'm building a site using dreamweaver templates, and
    want it to print
    > precisely that line, but whenever I build a template, it
    creates a
    > relative
    > link. Is there a way to force dreamweaver to leave that
    link alone?
    >
    > Thanks,
    >

Maybe you are looking for

  • Printer Driver for HP Photosmart 7520 for Mac OS X 10.4 Tiger and 10.3 and 10.5

    I just purchased a new HP Photosmart 7520 printer.  One of my Macs at home is an iMac G5 that is running Mac OS X 10.4 Tiger.  It connects to the HP printer via Wi-Fi.  HP does not provide drivers for Mac OS 10.4 for the Photosmart 7520 printer.  I t

  • RAISING ALERT

    Hi, I want to raise an alert out side BPM. e.g.: I got one failure in message mapping, where I need to raise the alert for any mapping exception. I don't want to raise an alert in BPM, because, If I raise an alert in BPM, The message mapping status i

  • Start learning Oracle BPM 11g

    Hi, Can anyone point to the links through which I can start learning Oracle BPM 11g(using some sample application). Thank you.

  • Minimum installation for client server.

    What are the minimum Oracle8 installations on the client and server to establish a connection using TCP/IP protocol? Thanks in advance. null

  • Unlockable file - The nightmare scenario

    For some months now I've been trying to delete a folder containing an application (FWIW "Classic Menu"), but without success. The folder icon shows that it's locked, as are the files within it (and the files within the application "package"). The Get