Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Find and replace with regexby snopal (Pilgrim) |
on Dec 31, 2007 at 14:53 UTC ( [id://659760]=note: print w/replies, xml ) | Need Help?? |
Something simpler is that you don't have to use the full domain path if you just use the root tree basis. Your example shows <img src="directory/image.jpg" />, which is a relative path and is not transportable between page hierarchies. The simple addition of a leading slash, as in "/directory/image.jpg" may be all the change you need.
In Section
Seekers of Perl Wisdom
|
|