• Resolved kevin15nl

    (@kevin15nl)


    Hi guys,

    Currently I am experiencing kind of a weird error causes by autotimize. The following error is retrieved randomly on pages:

    Failed to load resource: the server responded with a status of 406 (Not Acceptable)

    What could be the main cause for this issue?

    Thanks for any help!

    Best Regards,
    Kevin.

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

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

    (@optimizingmatters)

    Seems to be working now Kevin?

    In general: autoptimized files are saved as static files and served by you webserver without autoptimized code being called upon. If links to such autoptimized files fail with a 406 error, this is probably due to restrictions of what files are allowed to be served on a webserver level. The chance of this happening is somewhat higher if the “serve as static files” is unchecked (as some security plugins block .php-files in wp-content/cache from being executed). If on Apache, check your .htaccess files.

    Hope this clarifies,
    frank

    Thread Starter kevin15nl

    (@kevin15nl)

    Hi Frank,

    That clarifies a lot! Thanks for that.
    What would you recommend for an iis windows server?

    Do you have a refer link to an tutorial or you might can explain it yourself?

    Cheers,
    Kevin.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Wow, now I got the error as well;

    406 – Client browser does not accept the MIME type of the requested page.

    Did some searching, maybe this KB-articla on microsoft.com helps?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    (The fact you have Cloudflare between the browser and your IIS might be complicating things as well …)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Autotimize is returning 406 error’ is closed to new replies.