Fix bug DNN-5375: clear cache when remove duplicate url.