Welcome to WebmasterWorld Guest from 54.196.217.43

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Updating links in Dreamweaver

Newbie to Dreamweaver. : )

     
5:00 pm on Nov 8, 2002 (gmt 0)

New User

10+ Year Member

joined:Feb 24, 2005
posts:9
votes: 0


Hi guys,

I've created a number of pages in Dreamweaver 4.0 (on OS 9.2) and saved them on a zip disk. When I take them home I see that all of the links are now broken becaause the path has changed.

Does anybody know of a way to "universally" fix alll of those links so that I don't have any broken links anymore, or will I need to go in and erase the broken link images and files and re-insert them from the computer that I want the files to reside on?

Many thank for any help.

5:04 pm on Nov 8, 2002 (gmt 0)

Administrator

WebmasterWorld Administrator rogerd is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 2, 2000
posts:9685
votes: 0


If the links are consistently mislabeled, then a "search and replace" on the whole site might work. Use this function with caution, of course...
5:11 pm on Nov 8, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member macguru is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 30, 2000
posts:3300
votes: 0


Welcome to WebmasterWorld [webmasterworld.com] Jimbo.

I dont know if I got it right. Did you create the site in a single folder using DreamWeaver's site manager?

We usually create a site within a single folder containing all pages and images. When we need to move it around, we use Stuffit to compress the whole folder form the Finder. Then we copy the archive to another disk.

Can we have a little sample of a 'broken' path?

5:16 pm on Nov 8, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 30, 2000
posts:800
votes: 0


That happens to us all the time, as both my husband and I do design and trade projects back and forth.

In "Find and Replace," select "Entire Local Site."

You might also want to save the query for the next time you need to do it. Do that by clicking on the picture of the open folder just to the left of the "Close" option.

5:21 pm on Nov 8, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 30, 2000
posts:800
votes: 0


Can we have a little sample of a 'broken' path?

I believe what he means is that a relative path (i.e.,
Images/picture.gif
or
subdir/filename.html)

is changed to where the files are saved on the computer (i.e., c:/Sites/Blah/subdir/Images/picture.gif
or
c:/Sites/Blah/subdir/filename.html).

A global replace such as
c:/Sites/Blah/subdir/Images/ to Images/
or
c:/Sites/Blah/subdir/ to subdir/ will do it.

5:25 pm on Nov 8, 2002 (gmt 0)

New User

10+ Year Member

joined:Feb 24, 2005
posts:9
votes: 0


Ok,

for instance the following:

file:///Zip 100/Conway_H1_web/Images/guy and clouds.jpg

is the source for an image on a particular page. Becuase the page was originally created on a mac, saved on to a disk, and then saved on another Mac, the image path is no longer correct. I know it's convoluted...

The only way that I know how to make that image appear again is by actually reinserting the image (after I have rebuild the site directory on my home computer). Would I need to do that for every single link?

Thanks again. : )

5:30 pm on Nov 8, 2002 (gmt 0)

Administrator

WebmasterWorld Administrator rogerd is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 2, 2000
posts:9685
votes: 0


Jimbo, just replacing the "file:///Zip 100/Conway_H1_web" with an empty "" string would probably do the trick, depending on the relative path. Try a few manual ones before going global.