Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 673
  • Last Modified:

Hyperlinks in pdf are misdirected

I converted a Word 2007 document to Adobe X pdf format.  There were three types of hyperlinks in the Word document -- some pointed to web sites, some to bookmarks in the same document, and others pointed to files located elsewhere on this computer.  The first two types of hyperlinks perform correctly in the pdf, but the third type of hyperlink does not work.  It appears that the target of these links is misdirected.  For example, in the Word document, there may be a hyperlink pointing to file:///V:\documents\test.docx  but in the converted pdf file that link points to file:///C|/Users/DD/test.docx
0
ddantes
Asked:
ddantes
  • 5
  • 3
1 Solution
 
terencinoCommented:
When you save your document, sometimes Word changes the link to a path relative to the document location, which begins with …/. Can you try this change to see if it makes a difference for you? To prevent Word from changing your hyperlinks, take the following steps:

1. Click Office Button > Word Options > General tab > Advanced section, click the Web Options button.
2. In the Web Options window, click the Files tab.
3. Clear the check box for “Update links on save., then OK to save your preferences.

Also some good advice here:
Word Hyperlinks Change When File is Copied to New Location
Let me know how it goes
...Terry
0
 
ddantesAuthor Commented:
Thank you for your suggestions.  Sadly, so far, no results.  Clearing the tick for "Update links on save" didn't resolve the issue.  The article which you provided  described how to change the links in a document from to absolute.  However, the instructions to place an "x" in the field for hyperlink base appears to have changed the link property to relative, not to absolute.  After placing that "x", the links in the original Word document appeared as "...\test.docx" instead of containing the complete path, and they no longer worked for items located in drives or folders different from the one containing the Word document.  So I reversed that procedure, and the links work again in the Word document.
0
 
ddantesAuthor Commented:
Update:  I tried saving the Word document to a pdf file in the same folder as the Word document.  As long as the pdf file resides in the same folder as the Word file, the links in the pdf file work.  If the pdf is removed to a different location, the links no longer work.  So I think this is an issue related to the pdf links being relative.  But I don't know if there is a way to configure that.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
terencinoCommented:
Sorry Word is not really consistent with this. Just as a test can you:
1. Clear the update links on save box.
2. Close Word
3. Open Word, and in a new document, and add link to a file on your network.
4. Check that the link has UNC \\SERVER\SHARE
5. Save document and close Word.
6. Open Word, check link in document, print to PDF and email the PDF to yourself, then check the link in the PDF
0
 
ddantesAuthor Commented:
True!  When I start with a new Word document, create a link to another document, save it as PDF, the link in the PDF works.  Why that isn't happening with the original document is still a mystery.
0
 
ddantesAuthor Commented:
Testing again, with a new Word document, when the target for the link is in drive V: the problem happens after saving as pdf.  If the target for the link is in another drive, that problem doesn't occur.   How do I check that the link has UNC \\SERVER\SHARE?
0
 
terencinoCommented:
You won't like the answer to that! You have to replace all the links in the original document now. If they are all similar, you could go Alt+F9 to show all the field codes then Replace file:///V:\\ with \\\\SERVER\\SHARE (note Word uses \\ for \)
0
 
ddantesAuthor Commented:
Understood.  Thank you for unraveling that.
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now