The tag 'meta name=viewport' appears more than once in the document


#1

I am getting this message when trying to validate my AMP pages on Google’s AMP Test. I tried to deactivate most of the plugins I used, but didn’t work.
https://search.google.com/test/amp?id=dg5fKCQPKTkGPamKKCJg7w

I get the message for all my pages, for example:
https://cozinhatecnica.com/2019/05/bolo-de-iogurte/?amp

Thanks once more.


#2

In fact the same problem happens with the non-AMP page, right at the beggining of the html code:

<head>
<meta name=“viewport” content=“width=device-width, initial-scale=1”>
<link rel=“profile” href=“http://gmpg.org/xfn/11”>
<meta charset=“UTF-8” />
<title>Leite de coco caseiro Cozinha Técnica</title>
<meta name=“viewport” content=“width=device-width, initial-scale=1” />
<meta name=“generator” content=“Page Speed Pro 2.21” />

I tried to deactivate the plugins one by one and didn’t work. When i moved to a different theme, the problem disappeared.

Thanks.


#3

The AMP plug-in team found the problem:

https://wordpress.org/support/topic/the-tag-meta-nameviewport-appears-more-than-once-in-the-document-3/#post-11581184


closed #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.