How to configure and automate URLs from nexus2 to nexus3

Hi,
I had two nexus2 application on different servers. I had migrated both servers from nexus 2 to nexus 3 and there is some repository in first nexus3 which is synced with another nexus3 via remote storage URL.
So the problem is the first nexus3 is taking Remote storage URL of second old nexus2. How can I automate that all the new remote storage URLs would be replace with old remote storage URLs?

Its not exactly clear to me what you’re seeking, but it is possible to configure Nexus 3 to use Nexus 2 style URLs - Configuring Legacy URL Paths