I'm using Pathauto module to set the URL for the nodes in my site. I have already created about 20,000 nodes in my site. Usually, the Pathauto module doesn't allow to the users to create the node with existing URL by giving the error as "Path already in use". But in my case, I can change the URL of a node with an existing URL of a node. For example parks located in same country,
Gandhiji Park - /gandhiji-park (located in state1)
Gandhiji Park - /gandhiji-park-0 (located in state2)
I can change the URL of the park in state2 as /gandhiji-park and the node is saved in that URL.
If I search for gandhiji park in state2 the search filters out the park but the URL took me to park in state1.
Can anyone help me in this?