Search console error – Custom JavaScript is not allowed.
-
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>
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]
- The topic ‘Search console error – Custom JavaScript is not allowed.’ is closed to new replies.