Clicky

  1. Home
  2. How To
  3. How to change the canonical link on AMP pages

How to change the canonical link on AMP pages

If you are making changes in Canonical URL by following this –

By going to Posts/Pages and edit this post -> navigate to Yoast SEO “Setting” -> Enter the Canonical URL and click on the “update” button.

The Output of Canonical URL in Non-AMP

If you change the canonical URL in Non-AMP then the canonical URL will not be changed in AMP and if you want to change the canonical URL in AMP then you need to follow these steps.

You will find this option in WordPress Dashboard -> AMP option panel -> Settins -> SEO -> Select “Yoast” option-> Enable “Canonical from Yoast” option

The Output of Canonical URL in AMP

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on June 28, 2019

    Are you still looking for a solution?

    Then fill out the below form and we will reach out to you within a few hours.


    Was this article helpful?

    Related Articles

    Comments

    1. when i install amp for wp plugin i face issue in google search console, The tag ‘link rel=canonical’ appears more than once in the document. how to solve when i uninstall the plugin it correct how i solve problem without unistalling ampforwp plugin

    2. Hello,

      A recent plugin update has now incorporated 2 <link rel="canonical" codes into the AMP code, rendering it invalid. There's one toward the head and another in the body. I need to find a way to take one of these codes out, as it's causing AMP to fail. Any help would be great.

      Thanks.

    3. By enabling the canonical from yoast option what will it do?
      By enabling Will we suggest google to index the amp page?

    Leave a Comment