Welcome to the Monastery | |
PerlMonks |
converting absolute to relative linksby coolmichael (Deacon) |
on Feb 03, 2001 at 10:10 UTC ( [id://56206]=perlquestion: print w/replies, xml ) | Need Help?? |
coolmichael has asked for the wisdom of the Perl Monks concerning the following question:
I have a bunch of web pages that need to change directory. The problem is that some of the links and image tags are absolute img src="myserver.com/images/img.jpg and don't work anymore after moving the files. One solution would be to not move the images, but part of the goal is move the entire site to a new domain. I'm sure there must be a wheel for this one invented already, but I can't seem to find anything for it in supersearch, or cpan, or categorized q&a. Maybe I'm looking for the wrong thing. Any help would be greatfully appreciated. Michael.
Back to
Seekers of Perl Wisdom
|
|