WordPress Autoptimize Plugin Require Not Allowed Here Error Message Solution. utilities toolsI found out about the Autoptimized wordpress plugin not so ago have been using it for all my wordpress blogs. In short, it helps in minimising and consolidating all js and css that you might have from your theme and plugins into single js and single css.. The plugin is working great and I had some issues while using it on self managed cloud server. For some reasons, the path to the consolidated js and css was not accessible and returning 404.. I was checking var log apache2 error log and found the following mentioned www wp-content cache autoptimized.htaccess Require not allowed here.. Checking the.htacess file, of Require keyword... What caught my eyes was this segment and AllowerOverride line. you will see that with the above setting, only directives controlling document types are allowed in.htaccess. In for Require directive to be allowed, we need to add AuthConfig, as below.. Save the file after edit, and do not forget to restart Apache with sudo service apache2 restart..
Read more