Support » Plugin: Proxy Cache Purge » Clear cache not working on bedrock sites

  • This is the request after clicking on clear cache “PURGE* “, I identified that the cleaning is not carried out due to the “//”. To fix the problem I implemented:

    // Create path to purge.
    $purgeme = $schema . $host . $path . $pregex;
    $purgeme = preg_replace('#([^:])//+#', '$1/', $purgeme); // New line that fixed the problem

    This newline removes the double slashes, keeping only one. I ask the developers to implement this fix, so I can get the next updates.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ipstenu (Mika Epstein)


    🏳️‍🌈 Advisor and Activist

    @lucasaffonso0 Before I implement that … how is a “bedrock” site different from any other WordPress site? I’d expect everyone to have this problem if it was universal, and thus far I have not.

    Thread Starter lucasaffonso0


    I believe that somehow the plugin got lost due to the folder structure, hence the addition of the two slashes. I have some pure wordpress sites and this does not happen, only sites that use the bedrock architecture show this error.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.