Generate clean canonical URLs and the correct HTML canonical link tag for any page to prevent duplicate content issues.