check duplicate based on URL