Title: Settings Not Saving
Last modified: December 20, 2016

---

# Settings Not Saving

 *  [Jayell12](https://wordpress.org/support/users/jayell12/)
 * (@jayell12)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/settings-not-saving-23/)
 * Hi there,
 * I went to the plugin setting page and ticked the three optimization options and
   tried both save buttons. The page refreshes as if it’s working but after reload
   the tick marks are no longer there anymore. I found someone in the forum who 
   had a similar issue and you suggested doing it manually by going to the options.
   php page. So I tried this, but there aren’t any of the following options available:
   autoptimize_css, autoptimize_js and autoptimize_html.
 * I tried disabling caching activities but that didn’t seem to help either. Also,
   I have debug on and no errors are being outputted.
 * Thanks in advance,
 * James

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

 *  Thread Starter [Jayell12](https://wordpress.org/support/users/jayell12/)
 * (@jayell12)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/settings-not-saving-23/#post-8570469)
 * I should also mention i deactivated all plugins and set wordpress to a default
   theme and that also didn’t work. And i’m using php 5.6 i believe.
 *  Thread Starter [Jayell12](https://wordpress.org/support/users/jayell12/)
 * (@jayell12)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/settings-not-saving-23/#post-8570939)
 * Just tried another thing. I set permissions for the cache and autoptimize folder
   to 777 and still didn’t work.
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/settings-not-saving-23/#post-8571132)
 * well, you already did everything I would do, really have no idea why this is 
   happening I’m afraid. any errors in your php-errorlog?
 * as a last resort, try to add this code to your (child) theme’s functions.php (
   or use the code snippets plugin as an easier and safer alternative);
 *     ```
       update_option('autoptimize_html','on');
       update_option('autoptimize_js','on');
       update_option('autoptimize_css','on');
       ```
   
 * frank

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

The topic ‘Settings Not Saving’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/settings-not-saving-23/#post-8571132)
 * Status: not resolved