See: How to fix canonical URLs and links in your pre-fork posts by @holger80