Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

You can change the way a hyperlink looks, and you can change where it goes (its destination). When a hyperlink doesn't work, you need to determine what the problem is and then fix the address for the link's destination.

What do you want to do?

Change the way a hyperlink looks

Change the display text of a hyperlink

  1. Click the hyperlink text that you want to change.

  2. Type the new text, and then delete the original characters individually by pressing DELETE or BACKSPACE.

Remove the underline from hyperlink text

  1. Select the hyperlink text.

    To select only the underlined characters, click after the last underlined character and drag the cursor to the first character.

  2. Click Underline Button Image.

Change the picture that you use for a hyperlink

  1. Select the picture that is linked.

  2. Right-click the picture, click Change Picture, and then click the location of the new picture that you want to use.

Top of Page

Change a hyperlink's destination

  1. Right-click the hyperlink that you want to change, and then click Edit Hyperlink.

    Note: If the shortcut menu offers commands only for spelling, click Ignore All, and then right-click the hyperlink again.

  2. In the Edit Hyperlink dialog box, enter the new hyperlink destination in the Address box.

Top of Page

Change a hyperlink to regular text

  • Right-click the hyperlink, and then click Remove Hyperlink.

Top of Page

Test hyperlinks

  • To follow a hyperlink from your publication, hold down CTRL while you click the linked text or picture.

Fix hyperlinks that don't work in Web publications 

Here are some of the common fixes for hyperlinks that don't work.

Fix hyperlinks that go to other pages on your Publisher website

  • When one link doesn't work    When a page has been moved, Publisher automatically updates hyperlinks to the correct page. If a hyperlink doesn't work, however, check that it's not pointing to a bookmark that has been moved or deleted. To fix it, do the following:

    1. Right-click the hyperlink, and then click Edit Hyperlink.

    2. In the Edit Hyperlink dialog box, click Place in This Document, and then click the page and the bookmark that you want to link to.

      If the bookmark has been deleted, click Cancel. Go to the page that you want to link to and insert a bookmark, and then return to the hyperlink that you want to fix, and edit that hyperlink.

  • When many links don't work    If many of the hyperlinks don't work, some of your files may not have been published. By default, when you publish a website, Publisher uploads a subfolder called index_files to the specified file location. This folder contains all the files associated with your website except for the first page of the publication (the website home page), which points to the subfolder of associated pages. If the folder isn't available, hyperlinks to other pages in your publication won't work. If you use a third-party program to upload your website, the subfolder may not automatically upload to the web server. In that case, upload the subfolder manually.

    Note: You can change the settings so that the next time you publish your website, Publisher doesn't create the index_files folder and publishes all files for your website to a single folder. In your Web publication, on the Tools menu, click Options, click the Web tab, and then clear the Organize supporting files in a folder check box.

Fix hyperlinks that go to other websites

If a hyperlink to another website doesn't work, browse to the destination that you want to link to. If the destination file is on the Internet, search for it in your web browser. If the file is on your hard disk or a network, search for it in Windows Explorer. Then, in your Publisher Web publication, check for the following:

  • The destination might have moved or might not exist anymore    Right-click the hyperlink, and click Edit Hyperlink. In the Edit Hyperlink dialog box, verify that the path to the destination page is correct.

  • The text that you believe is a hyperlink only looks like a hyperlink    Select the text and click Insert Hyperlink on the Standard toolbar to make sure that the text is a hyperlink.

    Tip: Be sure to select a single hyperlink before you click Insert Hyperlink. When you select more than one hyperlink or a hyperlink on a navigation bar, Insert Hyperlink might not be available.

  • You might not have access to the destination    If the destination is on the Internet, make sure that you have a connection to the Internet. If the destination is on a network, contact your network administrator to ensure that you have access to the destination file.

Fix hyperlinks that open external files

When you create a hyperlink on a web page that opens an external file, such as a Word document, an Excel worksheet, or a PDF file, keep the following in mind.

File names

Ideally, file names for external files that you link to should not include spaces and should be in lowercase letters.

If you link to a file that has a space in its name and you can't change the name, check to make sure that Publisher has replaced the space in the hyperlink address with %20. For example, if the file name is my file.docx, the hyperlink address should be my%20file.docx.

Testing

You can't test a link to an external file in Web preview, but you can test a hyperlink from your publication by holding down CTRL while you click the linked text or picture. You can also publish your website to a local server to test the hyperlinks to external files.

Important: If you are testing links to external files on a local server, be sure to copy the external files up to that local server.

Uploading

When you publish your website, you must upload the external file manually. Publisher won't upload it for you. Where you place the external file on the web server determines the path. For example:

  • If you link from the home page to a file that is in the same directory on the web server, the path can just be the file name (for example, myfile.docx).

  • If the file is in a different folder from the home page, the path must include the folder name (for example, index_files/myfile.docx).

You have to determine this path and type it in the Insert Hyperlink dialog box before you publish to the web. Select the text or picture that you want visitors to your page to click to open the external file. On the Insert menu, click Hyperlink. In the Insert Hyperlink dialog box, in the Address box, type the path to the external file.

Note: If you insert a hyperlink path in the Address box by browsing to it, change the path by typing the file name only or the folder and file name, as noted above.

Fix a hyperlink that does not appear

This can be caused by one of the following:

  • The hyperlink is located in a rotated text box or AutoShape    Hyperlinks will not function properly if they are located in rotated text boxes or AutoShapes, but they will work in the Web publication when you press CTRL and click the link, and they will look right and not work in Web Preview, nor when you publish the publication to the web. You can restore the hyperlinks in your Web publication by returning the rotated text boxes or AutoShapes that contain hyperlinks to their original position.

  • The hyperlink is located in a text box or AutoShape with BorderArt    In a Web publication, hyperlinks will not function properly if they are located in a text box or AutoShape with BorderArt. You can restore the hyperlinks in your Web publication by removing any BorderArt from the text boxes or AutoShapes that contain hyperlinks.

Top of Page

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×