It would be better to visit them on my way back.
We visited on our way back from Paris to find it costs €17.90/£15.40 per adult and €11.50/£9.90 per child.
We went to visit one of his castles on our way over here.
"I visited a farm on my way here this morning."
He visited Great Britain again on his way back to Japan.
You knew they stopped off to visit on their way here?
Five species of turtles visit the islands on their way across the Atlantic.
Esther planned to visit them there, on her way to Perugia.
Ideally I want to visit Mostar for a few hours on my way.
They asked me to visit them on my way back from a journey in the north.