add anchor only for duplicate urls functionality added