Skip to content
Public Ticket #18029

AMP Error

Conversation thread

PenciDesign Supporter replied

Staff Reply

Hi,

1. Please follow the instruction I've written in the previous reply,

2. Malformed URL found for attribute 'href' in tag 'a': this error is because you've inserted the wrong URL to DNG & Fiona James welcome new baby text, please try to check and replace the correct link.

image.png

Regards,
PenciDesign.


PenciDesign Supporter replied

Staff Reply

Hi,

Please go to Appearance → Customize AMP → Penci AMP → Header → Add Custom Code Inside <head> Tag, paste the following code:

<script async custom-element="amp-accordion" src="https://cdn.ampproject.org/v0/amp-accordion-0.1.js"></script>
<script async custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script>

Then clear all your site cache & validate AMP on https://validator.ampproject.org/.

Regards,
PenciDesign.

PenciDesign Supporter replied

Staff Reply

Hi,

Please send me the URL related to this issue.

Regards,
PenciDesign.


NyamburaKinyan started the conversation

Conversation Start

Hey, I get this error on search console ... A tag on this page requires an AMP component 'script' tag, which is missing.

Please assist. 

Thanks. 

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