Catherine,
Firstly, apologies to all the RW-Website-Help email recipients who recently received a misdirected email from me via the group on matters completely unrelated to HTML. How it happened is not known, other than my Thunderbird email client did an update at the same time.
--------------
Your question regarding
automatically converting website internally generated 'absolute'
links to 'relative' links, is a subject that is littered with
'fish-hooks'. Firstly, the version of HTML used and the
validity of the code on each page changed comes into play.
Secondly, any associated CSS is assumed not to have changed an inline element such as
<b> tag into a block level element which is now being used
for something unrelated to 'font-weight:bold'. These things
happen, and I deliberately do similar things for various
reasons; knowing that a browser will render the code as it is
told to do.
There is a Perl language program that supposedly will do what you want -
http://www.perlmonks.org/?node_id=56338
Like any program, it only does what it is told to do, and if one
of those 'fish-hooks' gets in the way, the page will likely get
mangled.
I have not used it / tried it, and suspect that you may have no other option than to go to each directory and create a relative link that can be used in a Search and Replace manner, to find the 'absolute' path prior to the filename and replace it with a 'relative' path to the filename. The text-editor I use is - Notepad++ and it provides a Search and Replace function which can be used to automatically chase down the Search term in all the pages in a directory and Replace it with the nominated term.
Barry
I inherited an RW site that has been recently moved to another server. The original RW site has the new URL on the main page with a link to the new site. In the process of updating pages on the new site, I have discovered that the person that created the original site used some absolute links to pages within the site rather than relevant links. So, as a result, some links go back to the original RW page. (Hope you are following what I am describing). Does anyone know of a program that can correct or convert the absolute links to relevant links without doing this manually? Please note again, this is for links back and forth within in the site. --