# How to Add Canonical Tag in Wordpress

> To add a canonical tag in WordPress, go to Plugins, search and activate Yoast, open your post or page, scroll to the SEO section, go to Advanced settings, enter the canonical URL, and click Update to save changes.

Canonical: https://livedemo.ai/tutorials/how-to-add-canonical-tag-in-wordpress/
Apps: WordPress
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a2cd5a98365d086570270/preview?step=1

## Steps

1. Go to Plugins .
2. Search for Yoast and click on it.
3. Click Activate to continue with Yoast SEO plugin.
4. Open the post/ page where you want to add canonical tag.
5. Scroll down to the SEO Section.
6. Find the settings box below the content editor and go to Advanced.
7. Add the canonical URL and enter the URL of the preferred canonical version of the page you are editing.
8. 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.
