AMPforWP conflict
-
Almost all of our website pages was de-indexed and as result we lost 90% of the traffic. All our posts pages are on AMPforWP but thankfully we found the solution so this is to report the bug/conflict on AMP with the AMPforWP plugin with Recipes Card PRO.
Error in Google Search Console:
“The author stylesheet specified in tag ‘style amp-custom’ is too long – the limit is 75000 bytes.”
Problem:
With Recipes Card plugin enabled it injects a ton of css in to the amp-custom tag so it pushes it beyond the limit.
Solution:
Enable in AMPforWP under settings – performance “Optimise CSS (beta)”
This applies tree-shaking so minising the CSS and removed the incorrectly injected css from amp-custom.I hope you can fix the conflict and I hope this helps someone else fix the search console error.
- The topic ‘AMPforWP conflict’ is closed to new replies.