How to Add Canonical Tag in Wordpress
Here's how to do it:
- Go to Plugins.
- Search for Yoast and click on it.
- Click Activate to continue with Yoast SEO plugin.
- Open the post/ page where you want to add canonical tag.
- Scroll down to the SEO Section.
- Find the settings box below the content editor and go to Advanced.
- Add the canonical URL and enter the URL of the preferred canonical version of the page you are editing.
- Click Update to save your changes or update the post/ page. The canonical tag will now be added to the HTML code of that page.