Title: Scripts not merging
Last modified: January 16, 2019

---

# Scripts not merging

 *  [Shane Jones](https://wordpress.org/support/users/shanejones/)
 * (@shanejones)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/scripts-not-merging/)
 * Hi a site i’m working on isnt merging the JS into one file.
 * It uses standard enqueueing which normally works fine on other sites.
 * Do you know if the plugin has issues with W3 Cache at all?
 * Also they have their content directory changed to /securecontent
 * /* Secure the wp-content folder */
    define (‘WP_CONTENT_DIR’,$_SERVER[‘DOCUMENT_ROOT’].‘/
   securecontent’); define (‘WP_CONTENT_URL’,’/securecontent’);
 * Would any of these be an issue?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/scripts-not-merging/#post-11095798)
 * re. W3TC; make sure all minify is off there and there should be no issue
 * re. content directory; _should_ work, but the most likely culprit anyway. does
   CSS merging work?

Viewing 1 replies (of 1 total)

The topic ‘Scripts not merging’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/scripts-not-merging/#post-11095798)
 * Status: not resolved