Modifying urls in order to ease db recognizing