homepage Welcome to WebmasterWorld Guest from 54.204.182.118
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Updating links in Dreamweaver
Newbie to Dreamweaver. : )
Jimbo

5+ Year Member



 
Msg#: 167 posted 5:00 pm on Nov 8, 2002 (gmt 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.

 

rogerd

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



 
Msg#: 167 posted 5:04 pm on Nov 8, 2002 (gmt 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...

Macguru

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



 
Msg#: 167 posted 5:11 pm on Nov 8, 2002 (gmt 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?

Laisha

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 167 posted 5:16 pm on Nov 8, 2002 (gmt 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.

Laisha

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 167 posted 5:21 pm on Nov 8, 2002 (gmt 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.

Jimbo

5+ Year Member



 
Msg#: 167 posted 5:25 pm on Nov 8, 2002 (gmt 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. : )

rogerd

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



 
Msg#: 167 posted 5:30 pm on Nov 8, 2002 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved