• Resolved tlozano

    (@tlozano)


    I have a lot of “[WPC Bypass]” Type like this:
    2026/05/14 12:29:49 [error] 713947#713947: *64966 FastCGI sent in stderr: “PHP message: [WPC Bypass] url=xxxxx/wp-admin/admin-ajax.php matched_pattern=/wp-admin; PHP message: [WPC Bypass] url=xxxx.es/wp-admin/admin-ajax.php matched_pattern=/wp-admin” while reading response header from upstream, client: xx.x.x.x, server: xx.es, request: “POST /wp-admin/admin-ajax.php HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php8.4-fpm-xxxx.es.sock:”, host: “xxxx.es”, referrer: “https://xxxx.es/wp-admin/tools.php?page=wp_benchmark_io”

    I have some urls disabled/skiped like /wp-admin /checkuout /cart… etc

    How can disable the log of this?

    thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support jbgupdraft

    (@jbgupdraft)

    Hi,

    Thanks for contacting us! I’ve looked through our code and can’t find any instances of the text WPC Bypass, so I’m wondering if you could temporarily deactivate WP-Optimize and see if the log messages persist.

    Let me know how it goes!

    Thread Starter tlozano

    (@tlozano)

    The code is into the file:
    /wp-content/plugins/wp-compress-image-optimizer/addons/cdn/cdn-rewrite.php

    Line 257.

    This is the code:

        // URL exclusions (wildcard support) — auto-enabled when patterns exist
        $url_excludes = get_option('wpc-url-excludes');
        if (!empty($url_excludes['exclude-url-from-all']) && function_exists('wpc_url_is_excluded')) {
            $url = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
            $url = explode('?', $url)[0];
            $matched = wpc_url_is_excluded($url, $url_excludes['exclude-url-from-all']);
            if ($matched !== false) {
                error_log('[WPC Bypass] url=' . $url . ' matched_pattern=' . $matched);
                return false;
            }
        }
    Plugin Support jbgupdraft

    (@jbgupdraft)

    Hi,

    Thanks so much for sending that over! That file is not part of WP-Optimize and appears to belong to another plugin. I would recommend reaching out to them for investigation on this.

    Thread Starter tlozano

    (@tlozano)

    ohhh!, Correct. I’m sorry

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

You must be logged in to reply to this topic.