• Resolved bohdan1

    (@bohdan1)


    Hello there,

    With Autoptimize plugin on, I receive 500 internal server errors for the Draft pages, if accessed without loggin into wp-admin. Normally it should redirect the user to 404 page, and it does so if Autoptimize is disabled.

    Here’s the page that throws the error:
    https://institut-zur-berufswahl.de/?page_id=5890&preview=true

    Here’s the error message from the access log:
    [client 91.226.253.113] ModSecurity: Output filter: Response body too large (over limit of 1048576, total not specified). [hostname “staging.institut-zur-berufswahl.de”] [uri “/index.php”] [unique_id “YROh0FkWZSwAAAJ1faAAAAAB”]

    Can anyone assist with this one?

    The page I need help with: [log in to see the link]

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

    (@optimizingmatters)

    Can you retest with “inline all CSS” disabled @bohdan1 ?

    Thread Starter bohdan1

    (@bohdan1)

    @optimizingmatters This actually worked, thank you!

    Is there a fix for this so we can use the “inline all CSS” option without getting this issue?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    afraid the basic problem is what’s in this mod_security error message (from your original post):

    ModSecurity: Output filter: Response body too large

    inlining all CSS bloats the HTML, assuming you do so not to have render-blocking CSS, I would suggest you look into “inline & defer CSS” instead (see the AO FAQ for more info)?

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

The topic ‘Autoptimize plugin: 500 error for Drafts if accessed without logging in’ is closed to new replies.