Sometimes your links work when you look at your site in Dreamweaver or locally, but after you upload your page and look at the page on the server the links don't work.

There are several reasons this might happen.

  1. You didn't upload the file you are linking to.
  2. The file you are linking to isn't within your local root folder.
  3. You didn't SAVE the html file before you added the links.
  4. You didn't create/open a site definition.
  5. At some point, you changed the setting in the site definition for Links relative to: from Document to Site Root. If this is incorrectly set, the path to local links will begin with "/" character.

    screen shot of site definition

To fix this:

  1. Make sure the file you are linking to is in your local root folder.
  2. Check your Dreamweaver site definition. Make sure Links relative to: is set to Document as shown in the screen shot image above. Make sure you have navigated to your local root folder.
  3. Edit the document with the broken link in Dreamweaver.
  4. Select the link and delete the path in the property inspector.
  5. Make the link again using "Point to File" icon in the property inspector.
  6. Save and upload your html file. Upload any files you are linking to.

 

 

back to FAQ