mirror full website1 and all links to specific website2

view story

http://stackoverflow.com – I want to mirror a website that will be taken down soon, the problem im facing at the moment is simple -> mirror whole website1 and all links (will be files/images/similiar) to website2 too, so i got a nice "merged" mirror. -Therefore the Question would be: How to do this with wget? Are the other ways to solve this problem (if not possible with wget)? -Logic Example: The Website is http://example.org and it will get mirrored (wget -mk). wget should also mirror every content being hosted on http://foo.bar too. (HowTos)