Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Browsing all 14051 articles
Browse latest View live

Frank Goossens on "[Plugin: Autoptimize] it broke my theme"

As I wrote in your previous post; clear Autopitmize's cache (and WP Super Cache's) and all should be well. hope this helps, frank

View Article


survivehive on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

I have a strange issue. I noticed GoogleBot reporting 500 errors when crawling product pages in my WooCommerce Store. I enabled WP-DEBUG, and tailed the error log while requesting a fetch from...

View Article


Frank Goossens on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

This is probably caused by jsmin having trouble with one specific file (e.g. some files, if already minified, may cause that error). you could either try to identify that file (by looking at which...

View Article

survivehive on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

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...

View Article

Frank Goossens on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

And does WC act differently for GoogleBot? Could you try with a user agent switcher?

View Article


survivehive on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

I tried the googlebot useragent in the emulator built in to chrome and the page loads fine. It's quite odd... There is certainly something unique to googlebot that causes the issue, I just can't seem...

View Article

Frank Goossens on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

and with a mobile useragent? does your shop have a mobile-specific view?

View Article

survivehive on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

It is mobile responsive, but not mobile specific. I have tried a mobile view as well as a mobile view WITH the googlebot useragent. Both worked fine. I also tried a desktop and mobile fetch from...

View Article


Frank Goossens on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

OK, let's see ... could you try adding "min.js" to the JS exclusion list, to exclude all js-files that are already minified from optimization?

View Article


survivehive on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

I have added min.js, and it still has the same problem.

View Article

CaveatLector on "[Plugin: Autoptimize] WP-Property Plugin add_action Priority...

I have found another plugin that is not compatible with this new function code priority setting in Autoptimize 1.9.x: add_action('template_redirect','autoptimize_start_buffering',11); Autoptimize 1.9.1...

View Article

Frank Goossens on "[Plugin: Autoptimize] WP-Property Plugin add_action...

Thanks for following up CaveatLector, I'll revert back to the priority in the next release.

View Article

Frank Goossens on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

OK, a radically different approach, using the API; add_filter('autoptimize_js_do_minify','survivehive_ao_js_minify',10,1); function survivehive_ao_js_minify() { if...

View Article


Frank Goossens on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

darn, there's a closing bracket missing, should be; add_filter('autoptimize_js_do_minify','survivehive_ao_js_minify',10,1); function survivehive_ao_js_minify() { if...

View Article

survivehive on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

This worked perfectly. Googlebot was able to fetch and render those pages. It is missing an open bracket after the if statement. Corrected code below in case anybody else ever runs into the issue....

View Article


mcurrier12 on "[Plugin: Autoptimize] Salient Theme and Raw JS Webform"

When Autoptimize is turned on it moves my JS based webforms below the footer of each page. See cldinc.com/contact-us. The actual script is: <script charset="utf-8"...

View Article

Frank Goossens on "[Plugin: Autoptimize] Salient Theme and Raw JS Webform"

you can exclude inline script based on a unique string (see FAQ) so you should be able to exclude by adding "hbspt.forms.create" to the comma-seperated list of JS exclusions? hope this helps, frank

View Article


Frank Goossens on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when...

Great (except for those darn brackets, off course)! :-)

View Article

Ruth Maude on "[Plugin: Autoptimize] Can I optimize JS without breaking...

Hi, Your plugin is great and really helps my site but optimizing JS breaks my mobile menu. my site is http://learnwp.ca Parent theme is the Responsive Theme by Cyberchimps I found this on their forum...

View Article

Frank Goossens on "[Plugin: Autoptimize] Can I optimize JS without breaking...

Morning Ruth; Go to the Autoptimize settings page, make sure "advanced settings" are visible and look for "Exclude scripts from Autoptimize" and in that comma-seperated list add...

View Article
Browsing all 14051 articles
Browse latest View live


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