Error with google search console and change of script
-
Hello, I have a problem with the pugin. I want change a two scripts:
<script type=’text/javascript’ src=’https://cdn.ampproject.org/v0.js’ async></script>
<script type=’text/javascript’ src=’https://cdn.ampproject.org/v0/amp-ad-0.1.js’ async custom-element=”amp-ad”></script>
with those:
<script async custom-element=”amp-ad” src=”https://cdn.ampproject.org/v0/amp-ad-0.1.js”></script>
<script async src=”https://cdn.ampproject.org/v0.js”></script>
And I don’t know how to change the code.
Moreover, google search console, sometimes send me several mails,that say that we have to change some tags or attributes.
Here an example in italian:‘attributo incorporato “style” non è consentito nei documenti AMP. Utilizza invece il tag “style amp-custom”.
Il tag “img” deve essere sostituito da un tag “amp-img” equivalente.
Thanks, best regards.
- The topic ‘Error with google search console and change of script’ is closed to new replies.