You can use the Yoast Seo plugin. It has built-in features that allow you to set a canonical URL for each page and post it on your website. To set up a canonical URL for Yoast SEO: 1. Go to the Edit Page or Edit Post screen for the page or post that you want to set a canonical URL for. 2. Scroll down to the Yoast SEO section. 3. Click on the Advanced tab. 4. In the Canonical URL field, enter the URL of the original page. 5. Click the Update button.