Generate canonical link tags to prevent duplicate content.
Canonical tags tell search engines which version of a page is the "master" copy, preventing duplicate content penalties.