• Hello guys,

    since 6 May, which I think is the date of the latest update for “Glue for Yoast SEO & AMP”, the AMP pages indexed by Google Search Console have been decreasing, and currently only 2 AMP pages are correctly indexed, while 96 have “serious problems”. How can I solve the problem?
    Seems like this is caused by a “custom javascript”, but I didn’t make any changes recently. All I am using for generating AMP pages is “AMP” plugin + “Glue for Yoast SEO & AMP”.

    What is weird, is that if I test any page with Search Console, I get a “Valid AMP Page” message; but if I test the same page at “https://validator.ampproject.org/”, I get “Custom Javascript is not allowed” on line 31, column 13″, which is this portion of text:

    	            <script>
                    if (document.location.protocol != "https:") {
                        document.location = document.URL.replace(/^http:/i, "https:");
                    }
                </script>

    Please, help me. Thank you very much in advance.

    Stefano

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

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Valid AMP pages have been decreasing in the past two weeks’ is closed to new replies.