Code Monkey home page Code Monkey logo

Comments (4)

futtta avatar futtta commented on June 5, 2024

are the two sites on the same (sub-)domain?

from autoptimize.

akincansenol avatar akincansenol commented on June 5, 2024

No, example.com and example.com/en by the way I found the issue, that comes with,

define("WP_PLUGIN_URL", "https://example.com/plugins");

So it's not compatible with this I guess, also I found your reply on WP Support topic https://wordpress.org/support/topic/not-all-js-and-css-getting-minified?replies=2

reason is folder structure being different in some cases, cfr.
/eshop-MRBUTTON/application/eshopbox-drop-down-cart-widget/widget-flyout-cart-style.css?ver=4.4.2 -> aggregated by AO
/eshopbox/eshop-includes/js/jquery/jquery.js?ver=1.11.3 -> not aggregated by AO
this might work better with the upcoming AO 2.0.1 (out end feb/ beginning march) which has this fix included. you could try appliying that fix or download the entire 2.0.1-to-be to see if that fixes your issue.
hope this helps,
frank

yeah it helps too me

So, is there any trick to use this define?

from autoptimize.

futtta avatar futtta commented on June 5, 2024

if your plugins-folders are located outside of wp-content, then indeed it is not compatible I'm afraid.

from autoptimize.

akincansenol avatar akincansenol commented on June 5, 2024

Thank you for information @futtta, you very fast!

from autoptimize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.