Title: Autoptimize cannot write to the cache directory
Last modified: August 10, 2017

---

# Autoptimize cannot write to the cache directory

 *  [sindhuphp](https://wordpress.org/support/users/sindhuphp/)
 * (@sindhuphp)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/autoptimize-cannot-write-to-the-cache-directory-2/)
 * Autoptimize cannot write to the cache directory (/home/tmaker/public_html/wp-
   content/cache/autoptimize/), please fix to enable CSS/ JS optimization!
 * i am using vps server, suddenly got this error.please can you check what is this
   error and where i have to change,bcz i already asked my vps server admin but 
   still cant

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/autoptimize-cannot-write-to-the-cache-directory-2/#post-9397051)
 * hey [@sindhuphp](https://wordpress.org/support/users/sindhuphp/);
    you have to(
   ask your vps admin) to make sure the user under which PHP runs has read/write/
   execute rights to `wp-content` and `wp-content/cache`.
 * hope this helps,
    frank

Viewing 1 replies (of 1 total)

The topic ‘Autoptimize cannot write to the cache directory’ 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: [8 years, 9 months ago](https://wordpress.org/support/topic/autoptimize-cannot-write-to-the-cache-directory-2/#post-9397051)
 * Status: not resolved