Title: Autoptimize not work with a Theme
Last modified: August 31, 2016

---

# Autoptimize not work with a Theme

 *  Resolved [marcell79](https://wordpress.org/support/users/marcell79/)
 * (@marcell79)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-not-work-with-a-theme/)
 * I have a problem with Autoptimize unfortunately it does not work with my Theme.
   Other themes in the same installation work perfectly in terms of optimization.
   The Theme wishing I use is reduced to a minimum Theme. I have the theme in a 
   test installation installs can be contacted at [http://h2436728.stratoserver.net/wordpress-test-2/](http://h2436728.stratoserver.net/wordpress-test-2/).
   Does anyone have an idea where the error might be?
 * Thank you
 * greetings
 * Marcell
 * P.S
    Sorry for the lousy English I had the text from the Germans through the 
   Google translator into English Transferring
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-not-work-with-a-theme/#post-6927709)
 * so how does it not work? internal server error? content visible but no style 
   applies? content and some styling visible?
 * as this is a test-install, can you enable CSS optimization so I can see what 
   happens?
 * frank
 *  Thread Starter [marcell79](https://wordpress.org/support/users/marcell79/)
 * (@marcell79)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-not-work-with-a-theme/#post-6927760)
 * Hello there,
 * Sorry, I had forgotten. The mistake is that I have the optimization of HTML, 
   JavaScript and CSS enabled but the system does not perform the optimization. 
   By default WordPress Theme 2016 optimization work but flawless and everything
   is summed up as desired and optimized.
 * greetings
 * Marcell
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-not-work-with-a-theme/#post-6927764)
 * ah, now I see 🙂
 * the theme is missing the opening `<html` tag, in which case AO assumes it not
   to be HTML and hence does not optimize.
 * frank
 *  [emeraldwave](https://wordpress.org/support/users/emeraldwave/)
 * (@emeraldwave)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/autoptimize-not-work-with-a-theme/#post-8258489)
 * Hi Frank,
    I have a similar issue – JS, CSS, HTML are not being autoptimized 
   despite being checked (source code at front end shows no change).
 * As you suggest above, I checked my theme and the <html tag is in place. (Also
   I disabled all plugins but no difference. Autoptimize works fine on any other
   theme or default wp theme. So it does seem to be an issue with my theme. My site
   is [http://www.byzastoursturkey.com](http://www.byzastoursturkey.com).)
 * Is there anything else that might cause a theme not to work with Autoptimize?
 * Thank you!
    -  This reply was modified 9 years, 7 months ago by [emeraldwave](https://wordpress.org/support/users/emeraldwave/).
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/autoptimize-not-work-with-a-theme/#post-8258575)
 * could be a lot of things, better ask the theme author emeraldwave.
 *  [emeraldwave](https://wordpress.org/support/users/emeraldwave/)
 * (@emeraldwave)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/autoptimize-not-work-with-a-theme/#post-8258670)
 * Ok thanks I will!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Autoptimize not work with a Theme’ 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/)

 * 6 replies
 * 3 participants
 * Last reply from: [emeraldwave](https://wordpress.org/support/users/emeraldwave/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/autoptimize-not-work-with-a-theme/#post-8258670)
 * Status: resolved