OddOneOut / bwp-minify

A WordPress Minification plugin that relies on Minify PHP library and WordPress's enqueueing system to serve minified CSS and JS to your audience
http://betterwp.net/wordpress-plugins/bwp-minify/
49 stars 23 forks source link

Upon composer (re)install, the cache/.htaccess is overwritten resulting in broken site #76

Open silvant opened 6 years ago

silvant commented 6 years ago

If the plugin is (re)installed using composer install, it will overwrite the .htaccess file in the cache folder, after which the site is broken due to missing rewrite directives. Only workaround is to disable/reenable the plugin to recreate the .htaccess file, or to manually replace the .htaccess file after install.

A good solution would be to alter the .htaccess file in the cache folder to include all the correct lines (like the mod_rewrite lines).