Cloudfare - AMP

So it looks like Cloudflare is adding javascript to my amp pages and causing them not to index in Google. Is anyone else seeing this issue and if so have you been able to find a work around?

I implemented a page rule but I am not sure if that is going to work or not?

I am using AMPforWP w/ Cloudflare and have just come to realize that Cloudflare maybe causing the js injection that is causing the amp pages not to index.

Any ideas on how to fix this?

Do you have an example of the javascript being inserted?

Unfortunately, I do not.

I was just told by AMPforWP that it was being added and Cloudflare verified that some of their features did add js.

This is the screenshot for the rule that I have in place, the rule that the Cloudflare tech gave me was */ but that would be for the entire site and I just need it for the amp pages.

This topic was automatically closed after 30 days. New replies are no longer allowed.