How To Add Canonical Tag In WordPress?


How do I add a canonical tag in WordPress?

Follow these steps to make the changes.

  • Log in to your WordPress website.
  • Edit the post, page, or taxonomy.
  • For posts and pages, scroll down to the Yoast SEO metabox.
  • Enter the full canonical URL, including http/s and www or non-www, in the ‘Canonical URL’ field.
  • Update the post, page or taxonomy.

Where do you put canonical tags?

The canonical tag is a page-level meta tag that is placed in the HTML header of a webpage. It tells the search engines which URL is the canonical version of the page being displayed.

How do I create a canonical tag?

Choose one URL as the canonical and redirect the other URLs there. You should do the same for secure HTTPS/HTTP and www/non-www versions of your site. Choose one canonical version and redirect the others to that version. For example, the canonical version of is the HTTPS non-www URL (

How do I fix canonical issues on WordPress?

In order to fix your duplicate canonical tag problem, you’ll need to do some testing. First, try deactivating your SEO plugin. Refresh your page, then check the source code again for the duplicate canonical tag. If you see just one canonical tag, you know that your SEO plugin was the culprit.”

Leave a Reply

Your email address will not be published. Required fields are marked *