• advanced-cache.php[214]:

    //if (strlen($uri) > 1 && substr($uri, -1, 1) == '/') {
    $uri = rtrim($uri, '/') . '_';
    //}

    So, all $hc_uri in “advanced-cache.php” have a ‘_’ at the end. For what? Well, so be it. Now my cache structure:
    HC_FOLDER/site.com_/index.html (home)
    HC_FOLDER/site.com/cat1_/index.html (category)
    HC_FOLDER/site.com/cat1/post1_/index.html (post)

    When I edit the post, your plug-in to clear the cache:
    HC_FOLDER/site.com/index.html
    HC_FOLDER/site.com/cat1/index.html

    But the paths have changed in version 3.2.3 (see above). Аctual paths:
    HC_FOLDER/site.com_/index.html
    HC_FOLDER/site.com/cat1_/index.html

    2)

    “advanced-cache.php” running before wp_redirect, so when cache “site.com/cat1_/index.html” is created, these queries:
    https://site.com/cat1
    https://site.com/cat1/
    in both cases have “$hc_uri = site.com/cat1_” and return a response “200 OK + cache”. Consequently: double indexing without rel=”canonical”.
    This irony.

    P.S. thanks for the plug-in! I continue to use it

    https://www.ads-software.com/plugins/hyper-cache/

  • The topic ‘bug in "Slash and non slash ending URLs" (v. 3.2.3)’ is closed to new replies.