Fixing Multiple Broken Links

This forum is for all Flare issues related to the Microsoft HTML Help target.
This target produces "CHM" files in the output.

Fixing Multiple Broken Links

Postby ys70t7i on Thu Feb 26, 2009 11:30 am

I rename a path and now have hundreds of broken links. System never asked me if I wanted to change all references to my new path. How can I fix? Please help.
ys70t7i
Jr. Propeller Head
 
Posts: 5
Joined: Tue Feb 17, 2009 7:06 am

Re: Fixing Multiple Broken Links

Postby LTinker68 on Thu Feb 26, 2009 11:39 am

What do you mean you renamed a path? You moved or renamed a file?
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
LTinker68
Master Propellus Maximus
 
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Fixing Multiple Broken Links

Postby KevinDAmery on Thu Feb 26, 2009 12:04 pm

And, where did you change it? In Flare or in Windows Explorer?
Until next time....
Image
Kevin Amery
Certified MAD for Flare
KevinDAmery
Propellus Maximus
 
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: Fixing Multiple Broken Links

Postby alaltenburg on Thu Feb 26, 2009 12:41 pm

Do you mean like, when you have a master stylesheet set, then rename it, every topic becomes a broken link? I ended up just renaming it back to the way I had it because it wasn't worth the trouble to fix.
The Moon is the first milestone on the road to the stars.

— Arthur C. Clarke
User avatar
alaltenburg
Sr. Propeller Head
 
Posts: 342
Joined: Mon Nov 03, 2008 9:33 am
Location: The heart of America

Re: Fixing Multiple Broken Links

Postby ys70t7i on Mon Mar 02, 2009 8:48 am

I renamed the folder. I have fixed 1/3 of the links.
alaltenburg wrote:Do you mean like, when you have a master stylesheet set, then rename it, every topic becomes a broken link? I ended up just renaming it back to the way I had it because it wasn't worth the trouble to fix.
ys70t7i
Jr. Propeller Head
 
Posts: 5
Joined: Tue Feb 17, 2009 7:06 am

Re: Fixing Multiple Broken Links

Postby ys70t7i on Mon Mar 02, 2009 8:53 am

LTinker68 wrote:What do you mean you renamed a path? You moved or renamed a file?

I renamed a folder in which the file is housed.
ys70t7i
Jr. Propeller Head
 
Posts: 5
Joined: Tue Feb 17, 2009 7:06 am

Re: Fixing Multiple Broken Links

Postby LTinker68 on Mon Mar 02, 2009 9:09 am

If you rename the folder from within Flare, it will ask if you want to update all links. Select "Yes" at that prompt and it should take care of everything for you. If you renamed the folder outside of Flare or chose not to update the links, then everything will still point to the old folder name so you'll end up with a bunch of broken links. You can fix that by either renaming the folder back, then renaming it again and this time telling it to update the links, or you could do a find-and-replace in Flare, making sure that it's set to look in the source code, and replace the old folder name with the new folder name.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
LTinker68
Master Propellus Maximus
 
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Fixing Multiple Broken Links

Postby ys70t7i on Mon Mar 02, 2009 9:33 am

LTinker68 wrote:If you rename the folder from within Flare, it will ask if you want to update all links. Select "Yes" at that prompt and it should take care of everything for you. If you renamed the folder outside of Flare or chose not to update the links, then everything will still point to the old folder name so you'll end up with a bunch of broken links. You can fix that by either renaming the folder back, then renaming it again and this time telling it to update the links, or you could do a find-and-replace in Flare, making sure that it's set to look in the source code, and replace the old folder name with the new folder name.


It worked. Thanks.
ys70t7i
Jr. Propeller Head
 
Posts: 5
Joined: Tue Feb 17, 2009 7:06 am

Re: Fixing Multiple Broken Links

Postby tekwrite55 on Mon Jan 23, 2023 12:31 pm

LTinker68 wrote:If you rename the folder from within Flare, it will ask if you want to update all links. Select "Yes" at that prompt and it should take care of everything for you. If you renamed the folder outside of Flare or chose not to update the links, then everything will still point to the old folder name so you'll end up with a bunch of broken links. You can fix that by either renaming the folder back, then renaming it again and this time telling it to update the links, or you could do a find-and-replace in Flare, making sure that it's set to look in the source code, and replace the old folder name with the new folder name.


Thanks I tried the source code search and replace and it worked. Years after the original post!
tekwrite55
Propeller Head
 
Posts: 25
Joined: Thu Jun 16, 2016 9:37 am


Return to Microsoft CHM Help

Who is online

Users browsing this forum: No registered users and 1 guest