Forum Moderators: open

Message Too Old, No Replies

Fixing broken image links?

         

ddesign

9:36 pm on Nov 3, 2004 (gmt 0)

10+ Year Member



I just transferred a web site from one server to a new one, and since the old designer had 100's of images mixed amongst the .htm pages, now all of the image file names are broken.

Is there a way to fix all of the images at once, other than adding 'images/' to each image individually?

Please help if you can! Thank you!

webdoctor

7:37 am on Nov 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is there a way to fix all of the images at once, other than adding 'images/' to each image individually?

So the images were "spread out" in all the directories? Where are they now? All in /images/? Or in subdirectories under /images/?

If they are, you could probably use mod_rewrite to rewrite the broken URLs. Do you have this on your server?

webdoctor

benihana

9:22 am on Nov 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



which editor are you using?

Dreamweaver has a site-wide find and replace, and im sure many others do too.

you could search for <img src="

and replace with

<img src="images/