Ad

How Can I Check If My AMP Website Version Uses Canonicals?

- 1 answer

I am using AMP for WP on my WordPress website. I use it only for users that land on my page via Google. How can I check if the amp site uses canonicals to avoid duplicate content?

Ad

Answer

On the mobile page, add a link rel="canonical" tag pointing to the corresponding desktop URL.

https://developers.google.com/search/mobile-sites/mobile-seo/separate-urls

Add the following to the non-AMP page:

And this to the AMP page:

https://amp.dev/documentation/guides-and-tutorials/optimize-and-measure/discovery

Ad
source: stackoverflow.com
Ad