• Resolved footy4kids

    (@footy4kids)


    Hi

    Google console is telling me there is some custom JS in one of my pages (see link, above).

    The code is:

    <script>if (document.location.protocol != “https:”) {document.location = document.URL.replace(/^http:/i, “https:”);}</script><script type=’text/javascript’ async src=’https://cdn.ampproject.org/v0.js’></script&gt;

    Is it possible to remove this? If so, how?

    Note: none of my other AMP pages are affected, this code is only in this page.

    The page I need help with: [log in to see the link]

Viewing 16 replies (of 16 total)
Viewing 16 replies (of 16 total)
  • The topic ‘Search console error – Custom JavaScript is not allowed.’ is closed to new replies.