Skip to content
Public Ticket #15332

AMP error

Conversation thread

Andres Navarro replied

Customer Reply

Hi, since I updated the theme and his plugins I have some AMP errors and the AMP version is not valid according to Google Search Console. 

I have these errors:

  • The tag 'noscript enclosure for boilerplate' appears more than once in the document.
  • Tag found outside the document head which is only allowed as a direct child of the document head.
  • HTML Event attributes, aka 'on*', are not allowed in AMP. Instead use 'amp-bind'.

http://mevoyalmundo.com/

PenciDesign replied

Staff Reply

Hi @haroldcardenaslema,

Please create a new ticket and we will check it to help you.

Please don't put a reply to the ticket of other people because they will get a notification email from your reply.

Best Regards,

PenciDesign

haroldcardenaslema replied

Customer Reply

Hi, sorry to appear all of a sudden. I have the same mistake, dozens of AMP errors because of the links.

My webpage is https://jovencuba.com/ 

PenciDesign replied

Staff Reply

Hi,

Strange, I've removed all the URL attached on the users comment to help you. So, the issue should be gone.

Can you show me some example URLs has this error to I can take it a look?

Also, to disable Website on the comment form, you can check option for it via Customize > Single Posts > Comment Form.

Best Regards,

PenciDesign

Andres Navarro replied

Customer Reply

Hi,

I still have 131 websites with APM errors, with this one:

  • A URL with formatting errors was found in the "href" attribute of the "a" tag.

I think you told me it is because of the wrong URLs users put int he comments. Is it possible to remove the Website option in the comments?

Andres Navarro replied

Customer Reply

My website is broken after your changes, I had to restore a backup :(

PenciDesign replied

Staff Reply

Hi,

Please send me your WordPress site admin URL and admin account ( username and password  ) - in a PRIVATE REPLY. I will take it a look at this to help you.  

Best Regards,

PenciDesign

Andres Navarro replied

Customer Reply

Hi,

Yes, it is valid but in the search console report it shows me those errors I told you.

I attach you the screenshots. thanks.

Andres Navarro started the conversation

Conversation Start

Google Search Console shows me the following errors in my AMP pages.

Malformed URL found for attribute 'href' in tag 'a'.

An AMP component 'script' tag is present more than once in the document.

Do you know how can I fix it?

Want to join this conversation or access attachments? Sign in first.