Deleting unused page and links