• Hi, we are using autoptimize plugin but on daily basis there are is a lot error in the log are coming as below:

    [authz_core:error] AH01630: client denied by server configuration: /home/***/public_html/wp-content/cache/autoptimize/autoptimize_******40.php.

    We checked to find some solution for this but no success. we are using godaddy share hosting with cpanel.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Morning @usmanmirza191;
    you’ll probably have to either change your Apache configuration or (simpler) tick the “serve as static files” option in Autoptimize.

    hope this helps,
    frank

    Thread Starter usmanmirza191

    (@usmanmirza191)

    Hi frank,

    you means this option “By default files saved are static css/js, uncheck this option if your webserver doesn’t properly handle the compression and expiry.”?

    we have already checked this.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, given the .php at the end of

    wp-content/cache/autoptimize/autoptimize_******40.php

    the files are not served statically (which would see the autoptimized files have .css or .js as extension).

    so maybe a page cache you need to clear?

    Thread Starter usmanmirza191

    (@usmanmirza191)

    thing is that physically there is no .php file in this directory:

    wp-content/cache/autoptimize/autoptimize_******40.php

    I think there is an issue with .htaccess file which is available on this location:

    public_html/wp-content/cache/autoptimize

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    thing is that physically there is no .php file in this directory:

    wp-content/cache/autoptimize/autoptimize_******40.php

    hence my suspicion of a page cache that still refers to the (old, removed PHP-files)?

    public_html/wp-content/cache/autoptimize/.htaccess is pretty well battle-tested really, but you can always make changes to it. do take into account it gets removed and re-created when you clear the cache, if you want your changes to persist you’ll have to create a “template” file in wp-content/AO_htaccess_tmpl with the contents of what you want in public_html/wp-content/cache/autoptimize/.htaccess.

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

The topic ‘[authz_core:error] client denied by server configuration’ is closed to new replies.