Pipe rerouting involves replacing the leaking pipe with a new one that is installed in a less vulnerable location, bypassing the damaged area.