Title: Change CSS/JS filename
Last modified: April 7, 2019

---

# Change CSS/JS filename

 *  Resolved [biqu3](https://wordpress.org/support/users/biqu3/)
 * (@biqu3)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/change-css-js-filename/)
 * Hello,
 * How can I change/remove the name “autoptimize_” in the URL of the CSS/JS filename
   generated by Autoptimize?
 * [http://mywebsite.com/wp-content/cache/autoptimize/css/](http://mywebsite.com/wp-content/cache/autoptimize/css/)**
   autoptimize_**e79adce964e5c37696ec472ae6af19d7.css
    to [http://mywebsite.com/wp-content/cache/autoptimize/css/e79adce964e5c37696ec472ae6af19d7.css](http://mywebsite.com/wp-content/cache/autoptimize/css/e79adce964e5c37696ec472ae6af19d7.css)
 * Thank you!

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/change-css-js-filename/#post-11402097)
 * you’ll always need at least one letter and an underscore in front of the hash
   [@biqu3](https://wordpress.org/support/users/biqu3/) , but other then that [this FAQ article explains how to](https://wordpress.org/plugins/autoptimize/#can%20i%20change%20the%20directory%20%26%20filename%20of%20cached%20autoptimize%20files%3F).
 * hope this helps,
    frank
 *  Thread Starter [biqu3](https://wordpress.org/support/users/biqu3/)
 * (@biqu3)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/change-css-js-filename/#post-11402994)
 * Hello,
 * I have checked your information, and edited wp-config.php, but there is still
   the “autoptimize_” and not my choosen name, also the directory didnt change too.
   I also desactivated and enable again, but no luck. What do I need to do more?
    -  This reply was modified 7 years, 2 months ago by [biqu3](https://wordpress.org/support/users/biqu3/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/change-css-js-filename/#post-11403338)
 * you’ll probably need to paste the code higher up in the wp-config.php file [@biqu3](https://wordpress.org/support/users/biqu3/),
   it has to be added before the `/* That's all, stop editing! Happy blogging. */`
   line.
 * hope this helps,
    frank
 *  Thread Starter [biqu3](https://wordpress.org/support/users/biqu3/)
 * (@biqu3)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/change-css-js-filename/#post-11403895)
 * Worked! Thanks.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/change-css-js-filename/#post-11403917)
 * you’re welcome biqu3, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂

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

The topic ‘Change CSS/JS filename’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/change-css-js-filename/#post-11403917)
 * Status: resolved