• Hi,
    I have a serious problem with memcache for a couple of months.

    I add some rewrite rules filter for a blog. It works fine but after some time, when the url is recalled, it returns a 404 not found.

    I have to flush manually the cache to fix the bug every time.

    Rewrite rules:

    // <category>/archives/<year>/<month>
      add_rewrite_rule('(.+?)/archives/([0-9]{4,})/([0-9]{2,})/page/([0-9]+)/?$', 'index.php?category_name=$matches[1]&year=$matches[2]&monthnum=$matches[3]&paged=$matches[4]', 'top');
      add_rewrite_rule('(.+?)/archives/([0-9]{4,})/([0-9]{2,})/?$', 'index.php?category_name=$matches[1]&year=$matches[2]&monthnum=$matches[3]', 'top');
    
      // <category>/archives/<year>
      add_rewrite_rule('(.+?)/archives/([0-9]{4,})/page/([0-9]+)/?$', 'index.php?category_name=$matches[1]&year=$matches[2]&paged=$matches[3]', 'top');
      add_rewrite_rule('(.+?)/archives/([0-9]{4,})/?$', 'index.php?category_name=$matches[1]&year=$matches[2]', 'top');
    
      // <category>/archives
      add_rewrite_rule('(.+?)/archives/page/([0-9]+)/?$', 'index.php?category_name=$matches[1]&paged=$matches[2]', 'top');
      add_rewrite_rule('(.+?)/archives/?$', 'index.php?category_name=$matches[1]', 'top');

    I am not able to reproduce the bug in the development environment.

    Do you have some councils for me??

    https://www.ads-software.com/extend/plugins/memcached/

  • The topic ‘[Plugin: Memcached Object Cache] Cache broken’ is closed to new replies.