Welcome to WebmasterWorld Guest from 54.147.44.93

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Updating links in Dreamweaver

Newbie to Dreamweaver. : )

     

Jimbo

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

10+ Year Member



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.

rogerd

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

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



If the links are consistently mislabeled, then a "search and replace" on the whole site might work. Use this function with caution, of course...

Macguru

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

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



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?

Laisha

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

WebmasterWorld Senior Member 10+ Year Member



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.

Laisha

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

WebmasterWorld Senior Member 10+ Year Member



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.

Jimbo

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

10+ Year Member



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. : )

rogerd

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

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



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month