Support » Plugin: W3 Total Cache » Page caching of infinite permalink structure

  • It seems that at least some WordPress installations (at least 3.7 and 3.8) allow an infinite number of repeating category slugs instead of giving a 404, ie:

    I have a couple of WordPress installations which have this issue, at least one is running W3TC with page caching on, and somehow a crawler or something is calling some URL’s with a long repeating permalink… which creates a large complete directory structure with some files.
    This creates 2 issues, the first is that emptying the pagecache from the backend times out, and it isn’t emptied completely.

    The second is created by Wordfence, which scannes the files for vulnerabilities, because the directory structure goes very deep, the scanning takes long and takes a lot of cpu %… which slows down the entire webserver :p

    The issue is kind of fixed when I turn off the page caching, but I dont want that because it slows down the website, and creates more mysql queries…

    Is there some solution for this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you using disk:basic or disk:enhanced? both options are generating the same issue?
    what version of PHP are you running on?


    Apache 2.2.23
    MySQL 5.5.30
    Php 5.4.23

    The ‘option’ for unlimited slug structure exists on multiple servers/installations… don’t know about the creation of cached pages… will test disk:basic asap.

    I just use disk:enhanced for VPS and disk:basic if in a shared hosting. The option for unlimited slug structure.. I didnt see that. I dont use memcached nor opcodes.

    It isn’t a wp option to get a slug that gets wayyyyy to long… it’s more like a bug/feature…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page caching of infinite permalink structure’ is closed to new replies.