Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all articles
Browse latest Browse all 14096

survivehive on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when crawled by GoogleBot"

$
0
0

I disabled JS Optimization, looked through the source and grabbed all javascript related to woocommerce, and added them to the excludes in the format:

"woocommerce.min.js,add-to-cart.min.js" etc...

I reenabled JS Optimization, saved, and googlebot still gets a 500 error.

I added the @ sign before $tmp_jscode on line 177, and fetched with googlebot, and still got the error.

I disabled JS Optimization and fetched with googlebot, success.

Strangely, It seems as though it's only googlebot that get's the 500 error. I can simultaneously browse the same exact page from my PC without any issue whatsoever.


Viewing all articles
Browse latest Browse all 14096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>